about summary refs log tree commit homepage
path: root/test/test_tcp_connect.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tcp_connect.rb')
-rw-r--r--test/test_tcp_connect.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tcp_connect.rb b/test/test_tcp_connect.rb
index 4fb4070..9756407 100644
--- a/test/test_tcp_connect.rb
+++ b/test/test_tcp_connect.rb
@@ -66,7 +66,7 @@ class TestKgioTcpConnect < Test::Unit::TestCase
 
   def test_wait_writable_set
     sock = SubSocket.new(@addr)
-    assert_equal "waited", sock.foo
+    assert_equal "waited", sock.foo if RUBY_PLATFORM =~ /linux/
     assert_equal nil, sock.kgio_write("HELLO")
   end
 end