Prepare to release json-2.5.0

This commit is contained in:
Hiroshi SHIBATA 2020-12-22 18:18:32 +09:00
parent f2f00e24fa
commit edb76e8765
Notes: git 2020-12-22 19:44:53 +09:00
6 changed files with 6 additions and 8 deletions

View file

@ -232,7 +232,7 @@ EOT
end
def test_gc
if respond_to?(:assert_in_out_err)
if respond_to?(:assert_in_out_err) && !(RUBY_PLATFORM =~ /java/)
assert_in_out_err(%w[-rjson --disable-gems], <<-EOS, [], [])
bignum_too_long_to_embed_as_string = 1234567890123456789012345
expect = bignum_too_long_to_embed_as_string.to_s

View file

@ -4,10 +4,6 @@
require 'test_helper'
class JSONInRactorTest < Test::Unit::TestCase
def setup
skip unless defined? Ractor
end
def test_generate
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
begin;
@ -31,4 +27,4 @@ class JSONInRactorTest < Test::Unit::TestCase
assert_equal(JSON.parse(expected_json), r.take)
end;
end
end
end if defined?(Ractor)