summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/json_common_interface_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json_common_interface_test.rb b/tests/json_common_interface_test.rb
index 29b4a5b..de88c6e 100644
--- a/tests/json_common_interface_test.rb
+++ b/tests/json_common_interface_test.rb
@@ -56,7 +56,7 @@ class JSONCommonInterfaceTest < Test::Unit::TestCase
end
def test_parse_bang
- assert_equal [ 1, NaN, 3, ], JSON.parse!('[ 1, NaN, 3 ]')
+ assert_equal [ 1, Infinity, 3, ], JSON.parse!('[ 1, Infinity, 3 ]')
end
def test_generate