projects
/
jansson.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Detect garbage near EOF in json_loadf() and json_load_file()
[jansson.git]
/
test
/
testdata
/
invalid
diff --git
a/test/testdata/invalid
b/test/testdata/invalid
index
bdca8a5
..
2887692
100644
(file)
--- a/
test/testdata/invalid
+++ b/
test/testdata/invalid
@@
-182,3
+182,14
@@
aƄ
====
1
'[' or '{' expected near 'a'
+==== garbage-at-the-end ====
+[1,2,3]foo
+====
+1
+end of file expected near 'foo'
+==== garbage-after-newline ====
+[1,2,3]
+foo
+====
+2
+end of file expected near 'foo'