From 630bb3f16f27c72e3fc2daf3161c96f0fd9c1ba0 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Tue, 29 Nov 2011 22:47:35 +1030 Subject: Add workaround to handle platforms that print -nan --- tests/test.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests') 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 () -- cgit v1.2.3-55-g6feb