summaryrefslogtreecommitdiff
path: root/test/webrick
diff options
context:
space:
mode:
Diffstat (limited to 'test/webrick')
-rw-r--r--test/webrick/test_httpresponse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/test_httpresponse.rb b/test/webrick/test_httpresponse.rb
index 75861caf8f..468c60582d 100644
--- a/test/webrick/test_httpresponse.rb
+++ b/test/webrick/test_httpresponse.rb
@@ -68,7 +68,7 @@ module WEBrick
io.rewind
res = Net::HTTPResponse.read_new(Net::BufferedIO.new(io))
assert_equal '300', res.code
- refute_match /<img/, io.string
+ refute_match(/<img/, io.string)
end
def test_304_does_not_log_warning