refine an assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
90b1eb1317
commit
f5ea2822e6
@ -290,7 +290,7 @@ class TestSocket < Test::Unit::TestCase
|
|||||||
msg1 = "<<<#{ai.inspect}>>>"
|
msg1 = "<<<#{ai.inspect}>>>"
|
||||||
s.sendmsg msg1
|
s.sendmsg msg1
|
||||||
unless IO.select([s], nil, nil, 10)
|
unless IO.select([s], nil, nil, 10)
|
||||||
raise "no response"
|
raise "no response from #{ai.inspect}"
|
||||||
end
|
end
|
||||||
msg2, addr = s.recvmsg
|
msg2, addr = s.recvmsg
|
||||||
msg2, remote_address, local_address = Marshal.load(msg2)
|
msg2, remote_address, local_address = Marshal.load(msg2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user