summaryrefslogtreecommitdiff
path: root/test/socket/test_socket.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/socket/test_socket.rb')
-rw-r--r--test/socket/test_socket.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index e07c1d6..6cbf3ed 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -736,6 +736,7 @@ class TestSocket < Test::Unit::TestCase
ret, addr, rflags = s1.recvmsg(10, 0)
assert_equal "b" * 10, ret
assert_equal Socket::MSG_TRUNC, rflags & Socket::MSG_TRUNC if !rflags.nil?
+ addr
ensure
s1.close
s2.close