about summary refs log tree commit homepage
path: root/test/ipv6_enabled.rb
diff options
context:
space:
mode:
authorEric Wong <bofh@yhbt.net>2020-01-06 09:54:50 +0000
committerEric Wong <e@80x24.org>2020-01-06 09:56:28 +0000
commit85486f9af18e4f249f23253e3b251e685b323912 (patch)
treebb98971324a6416d782ec3deab39e4b404cda6c3 /test/ipv6_enabled.rb
parent6ec35b0be879970931a67f5aa84b0e12099b12fd (diff)
downloadraindrops-85486f9af18e4f249f23253e3b251e685b323912.tar.gz
Newer rubies have more warnings
Diffstat (limited to 'test/ipv6_enabled.rb')
-rw-r--r--test/ipv6_enabled.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ipv6_enabled.rb b/test/ipv6_enabled.rb
index f02b48f..c4c9709 100644
--- a/test/ipv6_enabled.rb
+++ b/test/ipv6_enabled.rb
@@ -2,8 +2,8 @@ def ipv6_enabled?
   tmp = TCPServer.new(ENV["TEST_HOST6"] || '::1', 0)
   tmp.close
   true
-  rescue => e
-    warn "skipping IPv6 tests, host does not seem to be IPv6 enabled:"
-    warn "  #{e.class}: #{e}"
-    false
+rescue => e
+  warn "skipping IPv6 tests, host does not seem to be IPv6 enabled:"
+  warn "  #{e.class}: #{e}"
+  false
 end