aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 0e0aad8..ab2fe7c 100755
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -64,6 +64,10 @@ local encode_table_tests = {
64} 64}
65 65
66local decode_error_tests = { 66local decode_error_tests = {
67 { json.decode, { '\0"\0"' },
68 false, { "JSON parser does not support UTF-16 or UTF-32" } },
69 { json.decode, { '"\0"\0' },
70 false, { "JSON parser does not support UTF-16 or UTF-32" } },
67 { json.decode, { '{ "unexpected eof": ' }, 71 { json.decode, { '{ "unexpected eof": ' },
68 false, { "Expected value but found T_END at character 21" } }, 72 false, { "Expected value but found T_END at character 21" } },
69 { json.decode, { '{ "extra data": true }, false' }, 73 { json.decode, { '{ "extra data": true }, false' },