summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-10-15 14:48:32 +0100
committerSteve Kemp <steve@steve.org.uk>2013-10-15 14:48:32 +0100
commit6f4a8f1cde20762f8e08dc8c9fe75466585539e2 (patch)
tree0e8f343002cf8b4b5d9ccda98f26a64ec9bda640 /t
parenta209c9892956fa71321fd439501cef289e16cec4 (diff)
Fixed test cases to succeed.
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 322df3a..6410dd8 100755
--- a/t/test-custodian-util-dns.rb
+++ b/t/test-custodian-util-dns.rb
@@ -34,13 +34,13 @@ class TestDNSUtil < Test::Unit::TestCase
# IPv6 lookup
#
details = Custodian::Util::DNS.hostname_to_ip( "ipv6.steve.org.uk" )
- assert( details =~ /2001:41c8:51:2aa:feff:ff:fe00:ec3/i )
+ assert( details == "2001:41c8:125:40::80" )
#
# IPv4 lookup
#
details = Custodian::Util::DNS.hostname_to_ip( "ipv4.steve.org.uk" )
- assert( details =~ /213\.138\.103\.170/i )
+ assert( details == "80.68.85.40" )
#
# Failure case