summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-socket/test
diff options
context:
space:
mode:
authorTakeshi Watanabe <[email protected]>2017-12-09 18:44:24 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-12-14 00:05:23 +0900
commit949bf6ca4306125b0ba51d8b09a1f4d642c24753 (patch)
tree0c719cb0cfc4bfa1b897892ac47722f9fec1943f /mrbgems/mruby-socket/test
parent2300c9f7373e3785d36323b5d2820efb40fb1fab (diff)
downloadmruby-949bf6ca4306125b0ba51d8b09a1f4d642c24753.tar.gz
mruby-949bf6ca4306125b0ba51d8b09a1f4d642c24753.zip
Fix socket closing by using `closesocket` API in windows instead.
Diffstat (limited to 'mrbgems/mruby-socket/test')
-rw-r--r--mrbgems/mruby-socket/test/unix.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/mrbgems/mruby-socket/test/unix.rb b/mrbgems/mruby-socket/test/unix.rb
index 1eb7365c5..88ad17101 100644
--- a/mrbgems/mruby-socket/test/unix.rb
+++ b/mrbgems/mruby-socket/test/unix.rb
@@ -1,5 +1,3 @@
-unless SocketTest.win?
-
def unixserver_test_block
path = SocketTest.tmppath
File.unlink path rescue nil
@@ -126,5 +124,3 @@ assert('UNIXSocket#recvfrom') do
# a[1][1] would be "" or something
end
end
-
-end # win?