diff options
author | Steve Kemp <steve@steve.org.uk> | 2013-10-15 14:48:32 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2013-10-15 14:48:32 +0100 |
commit | a4705b80e24c0e6dffa6079c8a944e3311ee796a (patch) | |
tree | a6a32d14cbe88085389b5e7f5e786f070ff7f22b /t | |
parent | c388b943c897a130072ec050caf7a893b4c1c17a (diff) |
Fixed test cases to succeed.
Diffstat (limited to 't')
-rwxr-xr-x | t/test-custodian-util-dns.rb | 4 |
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 |