From 85486f9af18e4f249f23253e3b251e685b323912 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 6 Jan 2020 09:54:50 +0000 Subject: fixes for newer rubies Newer rubies have more warnings --- test/test_linux.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/test_linux.rb') diff --git a/test/test_linux.rb b/test/test_linux.rb index bfefcc4..7808469 100644 --- a/test/test_linux.rb +++ b/test/test_linux.rb @@ -76,6 +76,7 @@ class TestLinux < Test::Unit::TestCase assert_equal 0, stats[tmp.path].active assert_equal 0, stats[tmp.path].queued + us.close end def test_unix_resolves_symlinks @@ -151,8 +152,8 @@ class TestLinux < Test::Unit::TestCase assert_equal 1, stats.size assert_equal 0, stats[addr].queued assert_equal 1, stats[addr].active - ensure - nlsock.close + ensure + nlsock.close end def test_tcp_multi -- cgit v1.2.3-24-ge0c7