summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/ldap.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-14 08:25:06 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-14 08:25:06 +0000
commitfc9d38f1412729d7e900f8771cca1c6d1fc1abfb (patch)
tree5840dc27b1959d0a3e7180a054e8a8838c950baf /lib/custodian/protocol-tests/ldap.rb
parentf3b0bca5c95f217c0b9dd2ffc621d2316d34abb4 (diff)
Ensure we reset the error before re-testing a failure case.
Diffstat (limited to 'lib/custodian/protocol-tests/ldap.rb')
-rwxr-xr-xlib/custodian/protocol-tests/ldap.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocol-tests/ldap.rb b/lib/custodian/protocol-tests/ldap.rb
index e1157d1..cec146b 100755
--- a/lib/custodian/protocol-tests/ldap.rb
+++ b/lib/custodian/protocol-tests/ldap.rb
@@ -61,9 +61,9 @@ class LDAPTest
def run_test
#
- # Until the test runs we have no error.
+ # Reset state from previous test.
#
- @error = ""
+ @error = nil
#
# Get the hostname & port to test against.