summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorChris Elsworth <chris.elsworth@bytemark.co.uk>2017-03-17 13:20:37 +0000
committerChris Elsworth <chris.elsworth@bytemark.co.uk>2017-03-17 13:20:37 +0000
commit2b287c1c86cbe6c04dcf16f3d266aa2810f9f84c (patch)
tree30f7d46c878d1a6bdc7f23887b8f82a82a9ee3f7 /t
parentd72f2b2cf1840e79a6c3dab1cee2c46e9794b22b (diff)
Style
Diffstat (limited to 't')
-rwxr-xr-xt/test-custodian-util-dns.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-custodian-util-dns.rb b/t/test-custodian-util-dns.rb
index 3ffd533..934ecc3 100755
--- a/t/test-custodian-util-dns.rb
+++ b/t/test-custodian-util-dns.rb
@@ -29,7 +29,7 @@ class TestDNSUtil < Test::Unit::TestCase
# Test forward lookups
#
def test_lookup
- return unless( ENV['GITLAB_CI'].nil? )
+ return unless ENV['GITLAB_CI'].nil?
details = Custodian::Util::DNS.hostname_to_ip('bytemark.co.uk')
assert((details == '2001:41c9:0:1019:81::80') ||
@@ -53,7 +53,7 @@ class TestDNSUtil < Test::Unit::TestCase
# Test forward lookups
#
def test_reverse_lookup
- return unless( ENV['GITLAB_CI'].nil? )
+ return unless ENV['GITLAB_CI'].nil?
#
# IPv6 lookup