diff options
| author | Mark Pulford <mark@kyne.com.au> | 2012-01-19 00:56:40 +1030 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2012-03-04 18:54:35 +1030 |
| commit | dd231d4cd0e277fedb6ca23d9685202787dc65b1 (patch) | |
| tree | bf187867fd91a5cc70505c2d441dc3a66e3bb86c /tests | |
| parent | 3040931d6bb7331b130fd4c34a7b17bc5d226039 (diff) | |
| download | lua-cjson-dd231d4cd0e277fedb6ca23d9685202787dc65b1.tar.gz lua-cjson-dd231d4cd0e277fedb6ca23d9685202787dc65b1.tar.bz2 lua-cjson-dd231d4cd0e277fedb6ca23d9685202787dc65b1.zip | |
Remove deprecated "refuse_invalid_numbers"
Remove deprecated "refuse_invalid_numbers" since the version number will
be bumped to 1.1.0. Also remove "version" variable since it has been
replaced by _VERSION.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.lua b/tests/test.lua index 2941a91..1bf8d2b 100755 --- a/tests/test.lua +++ b/tests/test.lua | |||
| @@ -91,8 +91,8 @@ local testdata = load_testdata() | |||
| 91 | local cjson_tests = { | 91 | local cjson_tests = { |
| 92 | -- Test API variables | 92 | -- Test API variables |
| 93 | { "Check module name, version", | 93 | { "Check module name, version", |
| 94 | function () return json._NAME, json._VERSION, json.version end, { }, | 94 | function () return json._NAME, json._VERSION end, { }, |
| 95 | true, { "cjson", "1.1devel", "1.1devel" } }, | 95 | true, { "cjson", "1.1devel" } }, |
| 96 | 96 | ||
| 97 | -- Test decoding simple types | 97 | -- Test decoding simple types |
| 98 | { "Decode string", | 98 | { "Decode string", |
