Skip to content

Commit 06caa63

Browse files
peterzhu2118hsbt
authored andcommitted
Remove --disable-gems in assert_in_out_err
assert_in_out_err adds --disable=gems so we don't need to add --disable-gems in the args list.
1 parent 67f223f commit 06caa63

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
@@ -233,7 +233,7 @@ def test_buffer_initial_length
233233

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

0 commit comments

Comments
 (0)