summaryrefslogtreecommitdiff
path: root/test/ruby/test_require_lib.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-08-02 17:02:37 -0400
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-08-03 09:11:08 +0900
commit4b6c584023f41827c891f33a16cb5db221b7cd19 (patch)
tree91ac7025ce294d7c69e659e5c413f95ba34d79dc /test/ruby/test_require_lib.rb
parent29fd05036bc5b04c980a53a424b185a8a69cc839 (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_require_lib.rb')
-rw-r--r--test/ruby/test_require_lib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_require_lib.rb b/test/ruby/test_require_lib.rb
index 95fa3f29e1..3615d88a11 100644
--- a/test/ruby/test_require_lib.rb
+++ b/test/ruby/test_require_lib.rb
@@ -12,7 +12,7 @@ class TestRequireLib < Test::Unit::TestCase
# skip many files that almost use no threads
next if TEST_RATIO < rand(0.0..1.0)
define_method "test_thread_size:#{lib}" do
- assert_separately(['--disable-gems', '-W0'], "#{<<~"begin;"}\n#{<<~"end;"}")
+ assert_separately(['-W0'], "#{<<~"begin;"}\n#{<<~"end;"}")
begin;
n = Thread.list.size
begin