summaryrefslogtreecommitdiff
path: root/test/io/wait
diff options
context:
space:
mode:
Diffstat (limited to 'test/io/wait')
-rw-r--r--test/io/wait/test_io_wait.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/wait/test_io_wait.rb b/test/io/wait/test_io_wait.rb
index a35caaa24a..3cf967e467 100644
--- a/test/io/wait/test_io_wait.rb
+++ b/test/io/wait/test_io_wait.rb
@@ -9,7 +9,7 @@ end
class TestIOWait < Test::Unit::TestCase
def setup
- if /mswin/ =~ RUBY_PLATFORM
+ if /mswin|mingw/ =~ RUBY_PLATFORM
@r, @w = Socket.pair(Socket::AF_INET, Socket::SOCK_STREAM, 0)
else
@r, @w = IO.pipe