summaryrefslogtreecommitdiffstats
path: root/tests/complex_array_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/complex_array_test.sh')
-rwxr-xr-xtests/complex_array_test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/complex_array_test.sh b/tests/complex_array_test.sh
index f868396..cabd81c 100755
--- a/tests/complex_array_test.sh
+++ b/tests/complex_array_test.sh
@@ -16,6 +16,8 @@ jdb_test_echo EchoArray ai "[ 1, 2, 3, 42, 99, \"foo\" ]" null "integer value ex
jdb_test_echo CountArray ai "[ 1, 2, 3, 42, 99, -42 ]" 6 &&
jdb_test_echo CountArray ai "[]" 0 &&
+jdb_test_echo CountArray ai "[ 1, null, 42]" null "unexpected 'null' element in json array." &&
+
args="42" &&
for i in `seq 1 10`; do
args="$args, $i, 1$i, 10$i, 100$i, 1000$i, 2$i, 20$i, 200$i, 2000$i, 3$i, 30$i, 300$i, 3000$i, 4$i, 40$i, 400$i, 4000$i, 5$i, 50$i, 500$i, 5000$i, $args"