aboutsummaryrefslogtreecommitdiffstats
path: root/test/json
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2017-12-21 09:57:16 +0100
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-14 19:54:49 +0900
commita4cf11c10fcaadfab738d8e98712551f701eef5a (patch)
tree6c5fe79f791b7cdbfbdf4fb785edd720bfa102f0 /test/json
parent308bbb4e10d247063889ebd9ba957e62f17978a5 (diff)
downloadruby-a4cf11c10fcaadfab738d8e98712551f701eef5a.tar.gz
[flori/json] fix test as reported in #343
https://github.com/flori/json/commit/565c72ba9e
Diffstat (limited to 'test/json')
-rw-r--r--test/json/json_common_interface_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_common_interface_test.rb b/test/json/json_common_interface_test.rb
index 6f32247a05..53f335ed3b 100644
--- a/test/json/json_common_interface_test.rb
+++ b/test/json/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