We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3086d58 commit d40e056Copy full SHA for d40e056
test/ruby/test_thread.rb
@@ -1480,7 +1480,7 @@ def test_thread_native_thread_id_across_fork_on_linux
1480
end
1481
1482
def test_thread_interrupt_for_killed_thread
1483
- pend "hang-up" if RUBY_PLATFORM.include?("mingw")
+ pend "hang-up" if /mswin|mingw/ =~ RUBY_PLATFORM
1484
1485
opts = { timeout: 5, timeout_error: nil }
1486
tool/test/testunit/test_assertion.rb
@@ -8,6 +8,8 @@ def test_wrong_assertion
8
9
10
def test_timeout_separately
11
12
+
13
assert_raise(Timeout::Error) do
14
assert_separately([], <<~"end;", timeout: 0.1)
15
sleep
0 commit comments