summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocoltest/http.rb')
-rw-r--r--lib/custodian/protocoltest/http.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb
index 6e0985d..3bc4b05 100644
--- a/lib/custodian/protocoltest/http.rb
+++ b/lib/custodian/protocoltest/http.rb
@@ -114,8 +114,8 @@ module Custodian
#
# The content we expect to find
#
- if line =~ /with content ["']([^'"]+)['"]/
- @expected_content = $1.dup
+ if line =~ /with content (["'])(.*)\1/
+ @expected_content = $2.dup
else
@expected_content = nil
end