From ab876665a2cf25b1bf557ea7d6cd9ff7e7923db6 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 13 Nov 2012 13:08:35 +0000 Subject: Renamed 'get_details()' to 'error()'. --- worker/tests/rsync.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'worker/tests/rsync.rb') diff --git a/worker/tests/rsync.rb b/worker/tests/rsync.rb index e410454..1d4e49f 100755 --- a/worker/tests/rsync.rb +++ b/worker/tests/rsync.rb @@ -39,7 +39,7 @@ class RSYNCTest # # 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 = "" @@ -90,7 +90,7 @@ class RSYNCTest # # Return the error text for why this test failed. # - def get_details + def error return @error end @@ -121,7 +121,7 @@ if __FILE__ == $0 then puts "TEST OK" else puts "TEST FAILED" - puts obj.get_details() + puts obj.error() end end -- cgit v1.2.1