diff options
author | Steve Kemp <steve@steve.org.uk> | 2013-05-15 14:17:29 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2013-05-15 14:17:29 +0100 |
commit | 9b84a00d9578a0103a3325260c31d91981d0f946 (patch) | |
tree | 1317ba44d2161cf7c536cf417d8d1d4922566206 /lib/custodian/protocoltest/pop3.rb | |
parent | 0a1e1128f72ef8316a620f6f071f003d01bbe8c4 (diff) |
The TCP-test now uses a regexp.
Each test has been updated to pass a regexp object to the
tcp.rb primitive which actually does the socket connection.
This closes #4036
Diffstat (limited to 'lib/custodian/protocoltest/pop3.rb')
-rw-r--r-- | lib/custodian/protocoltest/pop3.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/pop3.rb b/lib/custodian/protocoltest/pop3.rb index 838d838..a96762c 100644 --- a/lib/custodian/protocoltest/pop3.rb +++ b/lib/custodian/protocoltest/pop3.rb @@ -76,7 +76,7 @@ module Custodian # reset the error, in case we were previously executed. @error = nil - run_test_internal( @host, @port, "+OK" ) + run_test_internal( @host, @port, /\+OK/i ) end |