From 708f0228e0bfa87b4dda68bc9041bcf184dda25b Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 13 Nov 2012 15:36:13 +0000 Subject: Removed duplication, corrected errors in comment. --- t/test-protocol-ftp.rb | 2 +- t/test-protocol-smtp.rb | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 't') 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", -- cgit v1.2.1