summaryrefslogtreecommitdiff
path: root/tests/itjs.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/itjs.t')
-rwxr-xr-xtests/itjs.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/itjs.t b/tests/itjs.t
index 8dff992..fce81ee 100755
--- a/tests/itjs.t
+++ b/tests/itjs.t
@@ -6,6 +6,12 @@
$_GET['aa'] = 1;
is(
+ itjs::serialize(null),
+ 'null',
+ 'null'
+);
+
+is(
itjs::serialize(array()),
'[]',
'empty array'