summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/smtp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/smtp.rb')
-rwxr-xr-xlib/custodian/protocol-tests/smtp.rb5
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.