int64 test was wrong, fixed it
This commit is contained in:
parent
f921ece53f
commit
3bb11afeac
1 changed files with 1 additions and 1 deletions
|
|
@ -965,7 +965,7 @@ static void test_range(void) {
|
|||
static void test_int64(void) {
|
||||
const parser_t *int64_ = int64();
|
||||
|
||||
g_check_parse_ok(int64_, "\xff\xff\xff\xfe\x00\x00\x00\x00", 8, "s-0x200000000");
|
||||
g_check_parse_ok(int64_, "\xff\xff\xff\xfe\x00\x00\x00\x00", 8, "s0x200000000");
|
||||
g_check_parse_failed(int64_, "\xff\xff\xff\xfe\x00\x00\x00", 7);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue