diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-13 12:39:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-13 12:39:45 +0000 |
commit | 6cdf50d8be3d80f8da875d3cedc256a066ea6553 (patch) | |
tree | 877d8df6fd964a861c45f4dfd7ff3e6780f76e95 /test/socket/test_udp.rb | |
parent | 6c255d0dde4be530ae1cc09859721c6d20c985c7 (diff) | |
download | ruby-6cdf50d8be3d80f8da875d3cedc256a066ea6553.tar.gz |
* test/socket/test_socket.rb (test_listen): missed to modify.
* test/socket/test_udp.rb (test_bind): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket/test_udp.rb')
-rw-r--r-- | test/socket/test_udp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_udp.rb b/test/socket/test_udp.rb index 602adccf1c..3f5f55a467 100644 --- a/test/socket/test_udp.rb +++ b/test/socket/test_udp.rb @@ -21,7 +21,7 @@ class TestUDPSocket < Test::Unit::TestCase def test_bind # [ruby-dev:25057] s = UDPSocket.new host = Object.new - class << host; self end.send(:define_method, :to_str) { + class << host; self end.fcall(:define_method, :to_str) { s.close "127.0.0.1" } |