Skip to content

Commit 9782efb

Browse files
fix: use unsigned helper _u64 for BOOLEAN in golden-byte test
The golden-byte test used _i64(1) (signed int64) for BOOLEAN True, but the production code uses encode_uint64 (unsigned). The wire bytes are identical for value 1, but using _u64 correctly documents the encoding. Closes #144 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5e4d4df commit 9782efb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_golden_bytes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def test_rows_response_boolean_nibble(self) -> None:
222222
+ _u64(1) # column_count
223223
+ _text("flag")
224224
+ row_header
225-
+ _i64(1) # BOOLEAN True encoded as int64(1)
225+
+ _u64(1) # BOOLEAN True encoded as uint64(1)
226226
+ done_marker
227227
)
228228

0 commit comments

Comments
 (0)