aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-02-21 14:21:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-02-21 14:21:23 +0200
commit73386de65fd49e7690da5203074a5ea603551db6 (patch)
tree502d1504101cc96a9cc46e1171dcb4cae3a19850 /tests
parent94b6103c6c3475e3bf10eb905d504a5d239305b7 (diff)
Fix issue with json null representation in containers
Diffstat (limited to 'tests')
-rw-r--r--tests/type/json/testscript10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/type/json/testscript b/tests/type/json/testscript
index 6beaf5d..36287b7 100644
--- a/tests/type/json/testscript
+++ b/tests/type/json/testscript
@@ -468,15 +468,19 @@
print ($m[1])
print $type($m[1])
print ($m[2][b])
+ print ($m[0])
+ print ($m[-1])
EOI
- -1@"" 0@"" 1@[1,2] 2@{"a":1,"b":2}
- -1 ""
- 0 ""
+ -1@null 0@null 1@[1,2] 2@{"a":1,"b":2}
+ -1 null
+ 0 null
1 [1,2]
2 {"a":1,"b":2}
[1,2]
json
2
+
+
EOO
}