From fc9d38f1412729d7e900f8771cca1c6d1fc1abfb Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 08:25:06 +0000 Subject: Ensure we reset the error before re-testing a failure case. --- lib/custodian/protocol-tests/ldap.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/custodian/protocol-tests/ldap.rb') 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. -- cgit v1.2.1