summaryrefslogtreecommitdiff
path: root/worker/tests/ping.rb
diff options
context:
space:
mode:
Diffstat (limited to 'worker/tests/ping.rb')
-rwxr-xr-xworker/tests/ping.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/worker/tests/ping.rb b/worker/tests/ping.rb
index 83a1c41..d6ac877 100755
--- a/worker/tests/ping.rb
+++ b/worker/tests/ping.rb
@@ -38,7 +38,7 @@ class PINGTest
#
# Return "false" on failure.
#
- # If the test fails the details should be retrieved from "get_details".
+ # If the test fails the details should be retrieved from "error()".
#
def run_test
@error = ""
@@ -79,7 +79,7 @@ class PINGTest
#
# Return the error text for why this test failed.
#
- def get_details
+ def error()
return @error
end
@@ -110,7 +110,7 @@ if __FILE__ == $0 then
puts "TEST OK"
else
puts "TEST FAILED"
- puts obj.get_details()
+ puts obj.error()
end
end