summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-20 10:32:01 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-20 10:32:01 +0000
commitca4d4abfd2ed4cffb31db76dcbef0cf128e7675e (patch)
treee82b176673d850c9101cb03497875d079f6fca4b /t
parenta52bb37e2ec45aa7214acc6cbbeb59438a63fd11 (diff)
Removed references to obsolete method.
Diffstat (limited to 't')
-rwxr-xr-xt/test-alerter.rb30
1 files changed, 0 insertions, 30 deletions
diff --git a/t/test-alerter.rb b/t/test-alerter.rb
index f826205..995b27b 100755
--- a/t/test-alerter.rb
+++ b/t/test-alerter.rb
@@ -102,34 +102,4 @@ class TestAlerter < Test::Unit::TestCase
- #
- # Test documentation-detection.
- #
- def test_locations_inside_outside
-
- obj = Alerter.new( nil )
-
- assert_raise ArgumentError do
- obj.document_address( nil )
- end
-
- #
- # IPv6 lookup
- #
- details = obj.document_address( "2001:41c8:125:46::22" )
- assert( details =~ /ssh.steve.org.uk/i )
-
- #
- # IPv4 lookup
- #
- details = obj.document_address( "80.68.85.48" )
- assert( details =~ /ssh.steve.org.uk/i )
-
- #
- # Bogus lookup - should return nil.
- #
- details = obj.document_address( "800.683.853.348" )
- assert( details.nil? )
-
- end
end