summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/jabber.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/jabber.rb')
-rwxr-xr-xlib/custodian/protocol-tests/jabber.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/custodian/protocol-tests/jabber.rb b/lib/custodian/protocol-tests/jabber.rb
index c7adf88..1769eb8 100755
--- a/lib/custodian/protocol-tests/jabber.rb
+++ b/lib/custodian/protocol-tests/jabber.rb
@@ -31,7 +31,6 @@ class JABBERTest
@test_data = data
@error = nil
-
#
# Ensure we have a host to probe
#
@@ -61,7 +60,11 @@ class JABBERTest
# 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.