summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-05-20 16:16:53 +0100
committerSteve Kemp <steve@steve.org.uk>2013-05-20 16:16:53 +0100
commitbefdfc2b184c45323d388829be1fb9dde2a6f32d (patch)
treee47dfea4e474f5bb96dfc9a4ba0c7887ede10472 /lib/custodian/protocoltest
parentdc6a47539be93fe214b116f1617914dd71149b0a (diff)
Fixed the FTP-test to use a regexp not a string match.
Diffstat (limited to 'lib/custodian/protocoltest')
-rw-r--r--lib/custodian/protocoltest/ftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/ftp.rb b/lib/custodian/protocoltest/ftp.rb
index a3b0042..c13a0af 100644
--- a/lib/custodian/protocoltest/ftp.rb
+++ b/lib/custodian/protocoltest/ftp.rb
@@ -76,7 +76,7 @@ module Custodian
# reset the error, in case we were previously executed.
@error = nil
- run_test_internal( @host, @port, "^220", true )
+ run_test_internal( @host, @port, /^220/, true )
end