From 65fbf9fcb7c30ee19b69bff8909aee5bdc1bc60a 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/https.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/custodian/protocol-tests/https.rb') diff --git a/lib/custodian/protocol-tests/https.rb b/lib/custodian/protocol-tests/https.rb index 0935ebb..8b9c805 100755 --- a/lib/custodian/protocol-tests/https.rb +++ b/lib/custodian/protocol-tests/https.rb @@ -59,6 +59,11 @@ class HTTPSTest # def run_test + # + # Reset state from previous test. + # + @error = nil + # # Do the fetch, if this success then we'll have the # @status + @text setup -- cgit v1.2.1