diff options
author | Florian Frank <flori@ping.de> | 2017-12-21 09:57:16 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2017-12-21 09:57:16 +0100 |
commit | 565c72ba9e70f4262e66dd33fffb307711d6de27 (patch) | |
tree | 68a6976e139d9b2527842013522f848f4eee084e | |
parent | b3ec252120f4a5c12de3ffcf16b2540bdea79248 (diff) | |
download | json-565c72ba9e70f4262e66dd33fffb307711d6de27.tar.gz |
fix test as reported in #343
-rw-r--r-- | tests/json_common_interface_test.rb | 2 |
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 |