summaryrefslogtreecommitdiff
path: root/worker/tests/https.rb
diff options
context:
space:
mode:
Diffstat (limited to 'worker/tests/https.rb')
-rwxr-xr-xworker/tests/https.rb4
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