summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/itjs.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/itjs.t b/tests/itjs.t
index 4b4b0c8..ef3437a 100755
--- a/tests/itjs.t
+++ b/tests/itjs.t
@@ -41,4 +41,10 @@ is(
'nested arrays'
);
+is(
+ itjs::serialize(array('import' => array('function' => array(true, 42)))),
+ '{\'import\':{\'function\':[true, 42]}}',
+ 'keywords'
+);
+
?>