diff options
author | Peter Zhu <[email protected]> | 2023-08-02 17:02:37 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-08-03 09:11:08 +0900 |
commit | 4b6c584023f41827c891f33a16cb5db221b7cd19 (patch) | |
tree | 91ac7025ce294d7c69e659e5c413f95ba34d79dc /test/ruby/test_exception.rb | |
parent | 29fd05036bc5b04c980a53a424b185a8a69cc839 (diff) |
Remove --disable-gems for assert_separately
assert_separately adds --disable=gems so we don't need to add
--disable-gems when calling assert_separately.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8162
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r-- | test/ruby/test_exception.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index 03f0d58581..07b39d1217 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -685,7 +685,7 @@ end.join def test_machine_stackoverflow bug9109 = '[ruby-dev:47804] [Bug #9109]' - assert_separately(%w[--disable-gem], <<-SRC) + assert_separately([], <<-SRC) assert_raise(SystemStackError, #{bug9109.dump}) { h = {a: ->{h[:a].call}} h[:a].call @@ -696,7 +696,7 @@ end.join def test_machine_stackoverflow_by_define_method bug9454 = '[ruby-core:60113] [Bug #9454]' - assert_separately(%w[--disable-gem], <<-SRC) + assert_separately([], <<-SRC) assert_raise(SystemStackError, #{bug9454.dump}) { define_method(:foo) {self.foo} self.foo |