aboutsummaryrefslogtreecommitdiffstats
path: root/test/net/smtp/test_smtp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/net/smtp/test_smtp.rb')
-rw-r--r--test/net/smtp/test_smtp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/smtp/test_smtp.rb b/test/net/smtp/test_smtp.rb
index 23e1542d8f..90c92e06f8 100644
--- a/test/net/smtp/test_smtp.rb
+++ b/test/net/smtp/test_smtp.rb
@@ -190,7 +190,7 @@ module Net
loop do
readable, = IO.select(servers.map(&:to_io))
readable.each do |r|
- sock, addr = r.accept_nonblock(exception: false)
+ sock, = r.accept_nonblock(exception: false)
next if sock == :wait_readable
return sock
end