summaryrefslogtreecommitdiff
path: root/test/json/json_generator_test.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-22 18:18:32 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-22 19:44:27 +0900
commitedb76e8765b7f165237c8ca6155cff1cc0f18cf9 (patch)
tree83f4ed70e245a6ee67b64e4b48bd9632691d3bad /test/json/json_generator_test.rb
parentf2f00e24fa14b8114d6c3bea11170b2b3e309719 (diff)
Prepare to release json-2.5.0
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3975
Diffstat (limited to 'test/json/json_generator_test.rb')
-rw-r--r--test/json/json_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_generator_test.rb b/test/json/json_generator_test.rb
index 5bafc3ead4..f31b6b290e 100644
--- a/test/json/json_generator_test.rb
+++ b/test/json/json_generator_test.rb
@@ -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