Setup path correctly after stream parsing a key:value object pair (#2642)
This commit is contained in:
1 parent
7d424fd52e
commit
dfd440f0de
2 files changed
+5
-1
No files matched your search
@@ -203,6 +203,10 @@ else
|
||||
echo "Not doing torture tests"
|
||||
fi
|
||||
|
||||
## Regression test for issue #2378 assert when stream parse broken object pair
|
||||
echo '{"a":1,"b",' | $JQ --stream > /dev/null 2> $d/err
|
||||
grep 'Objects must consist of key:value pairs' $d/err > /dev/null
|
||||
|
||||
## Fuzz parser
|
||||
|
||||
## XXX With a $(urandom) builtin we could move this test into tests/all.test
|
||||
|
||||
Reference in new issue
Block a user