1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

merges r28422 from trunk into ruby_1_9_2.

--
refine an assertion message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2010-07-01 02:05:04 +00:00
parent d936157b26
commit d36fedc731

View file

@ -290,7 +290,7 @@ class TestSocket < Test::Unit::TestCase
msg1 = "<<<#{ai.inspect}>>>"
s.sendmsg msg1
unless IO.select([s], nil, nil, 10)
raise "no response"
raise "no response from #{ai.inspect}"
end
msg2, addr = s.recvmsg
msg2, remote_address, local_address = Marshal.load(msg2)