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:
parent
308bbb4e10
commit
a4cf11c10f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue