Skip to content

Commit d1a341f

Browse files
committed
Skip tests with JRuby platform
1 parent dece237 commit d1a341f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/json_generator_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def test_buffer_initial_length
232232
end
233233

234234
def test_gc
235-
if respond_to?(:assert_in_out_err)
235+
if respond_to?(:assert_in_out_err) && !(RUBY_PLATFORM =~ /java/)
236236
assert_in_out_err(%w[-rjson --disable-gems], <<-EOS, [], [])
237237
bignum_too_long_to_embed_as_string = 1234567890123456789012345
238238
expect = bignum_too_long_to_embed_as_string.to_s

0 commit comments

Comments
 (0)