diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-12-22 16:56:41 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-12-22 16:56:41 +0900 |
commit | d1a341fafdf86202acfce6b95aed7a3e65b63ac8 (patch) | |
tree | fe5688d4ec9168aa94347370929132c973aec3d2 /tests | |
parent | dece2379dcc8d8ebbeaf59d6a4fd7eb97b2c3cde (diff) | |
download | json-d1a341fafdf86202acfce6b95aed7a3e65b63ac8.tar.gz |
Skip tests with JRuby platform
Diffstat (limited to 'tests')
-rw-r--r-- | tests/json_generator_test.rb | 2 |
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 |