Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpx/lua-cjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-11-29 16:17:35 +0400
committerMark Pulford <mark@kyne.com.au>2011-11-29 16:17:35 +0400
commit630bb3f16f27c72e3fc2daf3161c96f0fd9c1ba0 (patch)
tree34265a52407f5d61ca5304a4fff2b0f9f1c5753e /tests
parent83c15a39a071a5bb4bcb41385ed58cc6d8fae6de (diff)
Add workaround to handle platforms that print -nan
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test.lua b/tests/test.lua
index d80dcf0..02d3760 100755
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -150,10 +150,6 @@ local encode_error_tests = {
json.refuse_invalid_numbers(false)
return 'Setting refuse_invalid_numbers(false).'
end,
- function ()
- print('NOTE: receiving "-nan" in the following test is ok..')
- return
- end,
{ json.encode, { NaN }, true, { "nan" } },
{ json.encode, { Inf }, true, { "inf" } },
function ()