diff options
author | Florian Frank <flori@ping.de> | 2017-12-21 09:57:16 +0100 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-14 19:54:49 +0900 |
commit | a4cf11c10fcaadfab738d8e98712551f701eef5a (patch) | |
tree | 6c5fe79f791b7cdbfbdf4fb785edd720bfa102f0 /test/json | |
parent | 308bbb4e10d247063889ebd9ba957e62f17978a5 (diff) | |
download | ruby-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.rb | 2 |
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 |