diff options
Diffstat (limited to 'test/socket/test_udp.rb')
-rw-r--r-- | test/socket/test_udp.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_udp.rb b/test/socket/test_udp.rb index 3f5f55a467..22eee783dd 100644 --- a/test/socket/test_udp.rb +++ b/test/socket/test_udp.rb @@ -9,7 +9,7 @@ class TestUDPSocket < Test::Unit::TestCase def test_connect # [ruby-dev:25045] s = UDPSocket.new host = Object.new - class << host; self end.fcall(:define_method, :to_str) { + class << host; self end.funcall(:define_method, :to_str) { s.close "127.0.0.1" } @@ -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.fcall(:define_method, :to_str) { + class << host; self end.funcall(:define_method, :to_str) { s.close "127.0.0.1" } |