Remove --disable-gems for assert_separately

assert_separately adds --disable=gems so we don't need to add
--disable-gems when calling assert_separately.
This commit is contained in:
Peter Zhu 2023-08-02 17:02:37 -04:00 committed by Hiroshi SHIBATA
parent 29fd05036b
commit 4b6c584023
Notes: git 2023-08-03 00:11:28 +00:00
12 changed files with 16 additions and 17 deletions

View file

@ -106,7 +106,7 @@ class TestEncoding < Test::Unit::TestCase
end
def test_errinfo_after_autoload
assert_separately(%w[--disable=gems], "#{<<~"begin;"}\n#{<<~'end;'}")
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
bug9038 = '[ruby-core:57949] [Bug #9038]'
begin;
e = assert_raise_with_message(SyntaxError, /unknown regexp option - Q/, bug9038) {