summaryrefslogtreecommitdiffstats
path: root/tests/shtest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shtest')
-rwxr-xr-xtests/shtest2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shtest b/tests/shtest
index 41209b22..80f7d1c9 100755
--- a/tests/shtest
+++ b/tests/shtest
@@ -126,6 +126,8 @@ fi
echo "[1,2,3,4]" > $d/expected
printf "[1,2][3,4]" | $JQ -cs add > $d/out 2>&1
cmp $d/out $d/expected
+printf "[1,2][3,4]\n" | $JQ -cs add > $d/out 2>&1
+cmp $d/out $d/expected
## Test streaming parser