diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-16 09:26:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-16 09:26:26 +0000 |
commit | 85d5df55287c3bd30ccb7d0553b83852061e8e48 (patch) | |
tree | edeea4cf823d333f570f92851037842bb86d8f04 /test/socket/test_nonblock.rb | |
parent | cbffea05bd83e8d546dcf05757e4dbad31e13643 (diff) |
test_nonblock.rb: fix failure on OSX
* test/socket/test_nonblock.rb (test_recvfrom_nonblock_no_exception):
no destination to already connected socket. fix failure on OSX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket/test_nonblock.rb')
-rw-r--r-- | test/socket/test_nonblock.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_nonblock.rb b/test/socket/test_nonblock.rb index 93f463daf9..c26c5ef171 100644 --- a/test/socket/test_nonblock.rb +++ b/test/socket/test_nonblock.rb @@ -289,7 +289,7 @@ class TestSocketNonblock < Test::Unit::TestCase def test_recvfrom_nonblock_no_exception udp_pair do |s1, s2| assert_equal :wait_readable, s1.recvfrom_nonblock(100, exception: false) - s2.send("aaa", 0, s1.getsockname) + s2.send("aaa", 0) assert s1.wait_readable mesg, inet_addr = s1.recvfrom_nonblock(100, exception: false) assert_equal(4, inet_addr.length) |