1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[flori/json] fix test as reported in #343

https://github.com/flori/json/commit/565c72ba9e
This commit is contained in:
Florian Frank 2017-12-21 09:57:16 +01:00 committed by Nobuyoshi Nakada
parent 308bbb4e10
commit a4cf11c10f
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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