Skip to content

Commit eaec53e

Browse files
committed
Revert "Suppress warnings in two tests"
This reverts commit 983cbf6, that is fixed by test-unit/test-unit#335 and test-unit/test-unit#337.
1 parent 983cbf6 commit eaec53e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_timeout.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def test_fork
250250
end
251251

252252
def test_threadgroup
253-
assert_separately(%w[-W0 -rtimeout], <<-'end;')
253+
assert_separately(%w[-rtimeout], <<-'end;')
254254
tg = ThreadGroup.new
255255
thr = Thread.new do
256256
tg.add(Thread.current)
@@ -263,7 +263,7 @@ def test_threadgroup
263263

264264
# https://github.com/ruby/timeout/issues/24
265265
def test_handling_enclosed_threadgroup
266-
assert_separately(%w[-W0 -rtimeout], <<-'end;')
266+
assert_separately(%w[-rtimeout], <<-'end;')
267267
Thread.new {
268268
t = Thread.current
269269
group = ThreadGroup.new

0 commit comments

Comments
 (0)