diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-11-29 16:17:35 +0400 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-11-29 16:17:35 +0400 |
commit | 630bb3f16f27c72e3fc2daf3161c96f0fd9c1ba0 (patch) | |
tree | 34265a52407f5d61ca5304a4fff2b0f9f1c5753e /tests | |
parent | 83c15a39a071a5bb4bcb41385ed58cc6d8fae6de (diff) |
Add workaround to handle platforms that print -nan
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test.lua | 4 |
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 () |