diff options
| author | Mark Pulford <mark@kyne.com.au> | 2011-05-10 22:32:01 +0930 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2011-05-10 22:32:01 +0930 |
| commit | 126470cc7b6c2314c02805e4d00afe04b6b00312 (patch) | |
| tree | 9dd59bcc02307403410ef405b0f02bf39bd57560 /tests | |
| parent | c877da6c1f84b19cd2e7e8154b4a0d0e355745a0 (diff) | |
| download | lua-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-x | tests/test.lua | 2 |
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 | ||
| 187 | local escape_tests = { | 187 | local escape_tests = { |
