ruby-changes:58241
From: Florian <ko1@a...>
Date: Mon, 14 Oct 2019 20:09:48 +0900 (JST)
Subject: [ruby-changes:58241] a4cf11c10f (master): [flori/json] fix test as reported in #343
https://git.ruby-lang.org/ruby.git/commit/?id=a4cf11c10f From a4cf11c10fcaadfab738d8e98712551f701eef5a Mon Sep 17 00:00:00 2001 From: Florian Frank <flori@p...> Date: Thu, 21 Dec 2017 09:57:16 +0100 Subject: [flori/json] fix test as reported in #343 https://github.com/flori/json/commit/565c72ba9e diff --git a/test/json/json_common_interface_test.rb b/test/json/json_common_interface_test.rb index 6f32247..53f335e 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 https://github.com/ruby/ruby/blob/trunk/test/json/json_common_interface_test.rb#L56 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/