From 3eb69bec6340cfae33013771536975599bed5071 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 29 Jul 2015 12:18:56 +0300 Subject: Ensure that protocol-handlers are lower-case. This allows you to write the following (identical) tests: foo must run FTP. foo must run ftp. foo must run FtP. This is mostly a neatness update. --- t/test-custodian-testfactory.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb index 934eb0c..63cf6c1 100755 --- a/t/test-custodian-testfactory.rb +++ b/t/test-custodian-testfactory.rb @@ -95,7 +95,9 @@ class TestTestFactory < Test::Unit::TestCase 'foo must run ssh.' => '22', "foo must run mysql otherwise 'alert'" => '3306', "foo must run redis otherwise 'alert'" => '6379', + "foo must run rEDIs otherwise 'alert'" => '6379', "foo must run rdp otherwise 'alert'" => '3389', + "foo must run RDP otherwise 'alert'" => '3389', "foo must run mysql on 33 otherwise 'alert'" => '33', } -- cgit v1.2.3