summaryrefslogtreecommitdiff
path: root/tests/test_std.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_std.js')
-rw-r--r--tests/test_std.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_std.js b/tests/test_std.js
index bb942d6..df02f92 100644
--- a/tests/test_std.js
+++ b/tests/test_std.js
@@ -134,7 +134,7 @@ function test_ext_json()
"y":true, // also a comment
z2:null, // unquoted property names
"a":[+1,0o10,0xa0,], // plus prefix, octal, hexadecimal
- "s":"str",} // trailing comma in objects and arrays
+ "s":'str',} // trailing comma in objects and arrays, single quoted string
`;
obj = std.parseExtJSON(input);
assert(JSON.stringify(obj), expected);