diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 08:25:06 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 08:25:06 +0000 |
commit | fc9d38f1412729d7e900f8771cca1c6d1fc1abfb (patch) | |
tree | 5840dc27b1959d0a3e7180a054e8a8838c950baf /lib/custodian/protocol-tests/smtp.rb | |
parent | f3b0bca5c95f217c0b9dd2ffc621d2316d34abb4 (diff) |
Ensure we reset the error before re-testing a failure case.
Diffstat (limited to 'lib/custodian/protocol-tests/smtp.rb')
-rwxr-xr-x | lib/custodian/protocol-tests/smtp.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/smtp.rb b/lib/custodian/protocol-tests/smtp.rb index 0017aa5..8ed19e8 100755 --- a/lib/custodian/protocol-tests/smtp.rb +++ b/lib/custodian/protocol-tests/smtp.rb @@ -60,7 +60,10 @@ class SMTPTest # If the test fails the details should be retrieved from "error". # def run_test - @error = "" + # + # Reset state from previous test. + # + @error = nil # # Get the hostname & port to test against. |