diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-13 15:01:57 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-13 15:01:57 +0000 |
commit | 9e8a2e96d743cdcfc92722d03b6aaedc8fbf84cf (patch) | |
tree | 2b2f98dee3fd7689db6e73128b0563f570b7984e /worker/tests/https.rb | |
parent | 88369e0204feda720b24af76d3b58955ca7b92cb (diff) |
Updated to report success correctly
Diffstat (limited to 'worker/tests/https.rb')
-rwxr-xr-x | worker/tests/https.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/tests/https.rb b/worker/tests/https.rb index 55a423b..f0e4f4c 100755 --- a/worker/tests/https.rb +++ b/worker/tests/https.rb @@ -26,7 +26,7 @@ class HTTPSTest # def initialize( data ) @test_data = data - @error = nil + @error = nil # # Ensure we have an URL @@ -87,7 +87,7 @@ class HTTPSTest end end - return true if ( @error.length() == 0 ) + return true if ( @error.nil? ) return false end |