Skip to content

Commit

Permalink
Skip tests with JRuby platform
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 22, 2020
1 parent dece237 commit d1a341f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/json_generator_test.rb
Expand Up @@ -232,7 +232,7 @@ def test_buffer_initial_length
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
Expand Down

0 comments on commit d1a341f

Please sign in to comment.