summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-12-31 02:24:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-12-31 02:24:21 +0900
commitd40e056cc8cb5c21fb3f7c25bf9463548dd14873 (patch)
treede9368c3936311b0a7da1f2d22e7ef382b08d118 /test
parent3086d58263b36d364a1187cd7678e6020806e6f3 (diff)
Skip the hang-up test on Windows
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index 3796e12f08..8edebfb5c2 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -1480,7 +1480,7 @@ q.pop
end
def test_thread_interrupt_for_killed_thread
- pend "hang-up" if RUBY_PLATFORM.include?("mingw")
+ pend "hang-up" if /mswin|mingw/ =~ RUBY_PLATFORM
opts = { timeout: 5, timeout_error: nil }