summaryrefslogtreecommitdiff
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
commit470f5eefbefdc109aaf8c0b5d5ea5e86723f9394 (patch)
treeff074d9f9d8c5de8a4ef6c990b836bfc19f6db6e
parent1fa9c5c06d2e8fc8f0fbc511a460d7b324eb69e5 (diff)
Fixed the FTP-test to use a regexp not a string match.
-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