diff options
author | Christian A. Weber | 2016-07-16 23:17:44 +0200 |
---|---|---|
committer | Christian A. Weber | 2016-07-16 23:17:44 +0200 |
commit | a406864c30fcbb3c462b99f91c03dd1d9b30545f (patch) | |
tree | c3f54124687f9212c68f2445ead73f86815f699f /tests/itjs.t | |
parent | aec4634e59713e125fa6e5ee2826ab5546db7446 (diff) | |
download | itools-a406864c30fcbb3c462b99f91c03dd1d9b30545f.tar.gz itools-a406864c30fcbb3c462b99f91c03dd1d9b30545f.tar.bz2 itools-a406864c30fcbb3c462b99f91c03dd1d9b30545f.zip |
itjs::encode() can encode non-arrays
Diffstat (limited to 'tests/itjs.t')
-rwxr-xr-x | tests/itjs.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/itjs.t b/tests/itjs.t index fce81ee..695ccd8 100755 --- a/tests/itjs.t +++ b/tests/itjs.t @@ -58,3 +58,9 @@ is( "{'foo\'foo':\"bar\"}", "quote ' in keys" ); + +is( + itjs::serialize("hellö"), + '"hellö"', + "string" +); |