aboutsummaryrefslogtreecommitdiffstats
path: root/test/socket/test_socket.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-13 12:39:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-13 12:39:45 +0000
commit6cdf50d8be3d80f8da875d3cedc256a066ea6553 (patch)
tree877d8df6fd964a861c45f4dfd7ff3e6780f76e95 /test/socket/test_socket.rb
parent6c255d0dde4be530ae1cc09859721c6d20c985c7 (diff)
downloadruby-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_socket.rb')
-rw-r--r--test/socket/test_socket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index 3e293d373c..5724938f6b 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -61,7 +61,7 @@ class TestBasicSocket < Test::Unit::TestCase
def test_listen
s = nil
log = Object.new
- class << log; self end.send(:define_method, :to_int) {
+ class << log; self end.fcall(:define_method, :to_int) {
s.close
2
}