diff options
| author | Takeshi Watanabe <[email protected]> | 2017-12-09 18:44:24 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-14 00:05:23 +0900 |
| commit | 949bf6ca4306125b0ba51d8b09a1f4d642c24753 (patch) | |
| tree | 0c719cb0cfc4bfa1b897892ac47722f9fec1943f /mrbgems/mruby-socket/test | |
| parent | 2300c9f7373e3785d36323b5d2820efb40fb1fab (diff) | |
| download | mruby-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.rb | 4 |
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? |
