We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.[]
1 parent 562ffec commit 31dac28Copy full SHA for 31dac28
tests/shtest
@@ -140,10 +140,10 @@ cmp $d/out $d/expected
140
141
# Regression test for --raw-output0
142
printf "a\0b\0" > $d/expected
143
-printf '["a", "b"]' | $VALGRIND $Q $JQ --raw-output0 .[] > $d/out
+printf '["a", "b"]' | $VALGRIND $Q $JQ --raw-output0 '.[]' > $d/out
144
cmp $d/out $d/expected
145
printf "a\0" > $d/expected
146
-if printf '["a", "c\\u0000d", "b"]' | $VALGRIND $Q $JQ --raw-output0 .[] > $d/out; then
+if printf '["a", "c\\u0000d", "b"]' | $VALGRIND $Q $JQ --raw-output0 '.[]' > $d/out; then
147
echo "Should exit error on string containing NUL with --raw-output0" 1>&2
148
exit 1
149
elif [ $? -ne 5 ]; then
0 commit comments