summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-22 16:56:41 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-22 16:56:41 +0900
commitd1a341fafdf86202acfce6b95aed7a3e65b63ac8 (patch)
treefe5688d4ec9168aa94347370929132c973aec3d2 /tests
parentdece2379dcc8d8ebbeaf59d6a4fd7eb97b2c3cde (diff)
downloadjson-d1a341fafdf86202acfce6b95aed7a3e65b63ac8.tar.gz
Skip tests with JRuby platform
Diffstat (limited to 'tests')
-rw-r--r--tests/json_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json_generator_test.rb b/tests/json_generator_test.rb
index 5bafc3e..f31b6b2 100644
--- a/tests/json_generator_test.rb
+++ b/tests/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