summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-13 15:36:13 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-13 15:36:13 +0000
commit708f0228e0bfa87b4dda68bc9041bcf184dda25b (patch)
tree5bd6e83cd7dbfc49e472ba3265f4ca2fef880b0d /t
parent2fc596cc02c0d7ac674fe8aa9ff3caf9bd601a01 (diff)
Removed duplication, corrected errors in comment.
Diffstat (limited to 't')
-rwxr-xr-xt/test-protocol-ftp.rb2
-rwxr-xr-xt/test-protocol-smtp.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/t/test-protocol-ftp.rb b/t/test-protocol-ftp.rb
index c3c41ae..d06b7af 100755
--- a/t/test-protocol-ftp.rb
+++ b/t/test-protocol-ftp.rb
@@ -78,7 +78,7 @@ class TestFTPProtocolProbe < Test::Unit::TestCase
#
- # Now create a probe with a missing URL.
+ # Now create a probe with a missing host.
#
assert_raise ArgumentError do
bad = FTPTest.new( test_data_bad_two )
diff --git a/t/test-protocol-smtp.rb b/t/test-protocol-smtp.rb
index 7c3b6fa..01714f8 100755
--- a/t/test-protocol-smtp.rb
+++ b/t/test-protocol-smtp.rb
@@ -34,7 +34,6 @@ class TestSMTPProtocolProbe < Test::Unit::TestCase
"test_type" => "smtp",
"test_port" => 25,
"verbose" => 1,
- "test_port" => 21,
"test_alert" => "SMTP service down",
}
@@ -53,7 +52,6 @@ class TestSMTPProtocolProbe < Test::Unit::TestCase
#
test_data_bad_two = {
"test_type" => "smtp",
- "test_port" => 25,
"verbose" => 1,
"test_port" => 25,
"test_alert" => "SMTP service down",