projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor decoder input stream
[jansson.git]
/
test
/
suites
/
api
/
test_pack.c
diff --git
a/test/suites/api/test_pack.c
b/test/suites/api/test_pack.c
index
edc6bd6
..
772afb1
100644
(file)
--- a/
test/suites/api/test_pack.c
+++ b/
test/suites/api/test_pack.c
@@
-180,7
+180,7
@@
int main()
/* NULL format */
if(json_pack_ex(&error, 0, NULL))
fail("json_pack failed to catch NULL format string");
/* NULL format */
if(json_pack_ex(&error, 0, NULL))
fail("json_pack failed to catch NULL format string");
- if(error.line !=
1 || error.column !=
1)
+ if(error.line !=
-1 || error.column != -
1)
fail("json_pack didn't get the error coordinates right!");
/* More complicated checks for row/columns */
fail("json_pack didn't get the error coordinates right!");
/* More complicated checks for row/columns */