summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocol-tests/http.rb')
-rwxr-xr-xlib/custodian/protocol-tests/http.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocol-tests/http.rb b/lib/custodian/protocol-tests/http.rb
index 67defca..2a60063 100755
--- a/lib/custodian/protocol-tests/http.rb
+++ b/lib/custodian/protocol-tests/http.rb
@@ -84,10 +84,10 @@ class HTTPTest
# Do we need to search for text in the body of the reply?
#
if ( @test_data['http_text'] )
- puts "Testing for text in the response: #{@test_data['http_text']}" if ( @test_data['verbose'] )
+ puts "Testing for text in the response: '#{@test_data['http_text']}'" if ( @test_data['verbose'] )
if (! @body.match(/#{@test_data['http_text']}/i) )
- @error = "#{@error} The respond did not contain #{test_data['http_text']}"
+ @error = "#{@error} The response did not contain our expected text '#{test_data['http_text']}'"
end
end