summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-05-10 22:32:01 +0930
committerMark Pulford <mark@kyne.com.au>2011-05-10 22:32:01 +0930
commit126470cc7b6c2314c02805e4d00afe04b6b00312 (patch)
tree9dd59bcc02307403410ef405b0f02bf39bd57560 /tests
parentc877da6c1f84b19cd2e7e8154b4a0d0e355745a0 (diff)
downloadlua-cjson-126470cc7b6c2314c02805e4d00afe04b6b00312.tar.gz
lua-cjson-126470cc7b6c2314c02805e4d00afe04b6b00312.tar.bz2
lua-cjson-126470cc7b6c2314c02805e4d00afe04b6b00312.zip
Add runtime option for persistent encode buffer
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.lua b/tests/test.lua
index 1408bb9..4bb62be 100755
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -181,7 +181,7 @@ local decode_error_tests = {
181 { json.decode, { '[ 0.4eg10 ]' }, 181 { json.decode, { '[ 0.4eg10 ]' },
182 false, { "Expected comma or array end but found invalid token at character 6" } }, 182 false, { "Expected comma or array end but found invalid token at character 6" } },
183 { json.decode, { json_nested }, 183 { json.decode, { json_nested },
184 false, { "stack overflow (too many nested data structures)" } } 184 false, { "Too many nested data structures" } }
185} 185}
186 186
187local escape_tests = { 187local escape_tests = {