diff options
-rw-r--r-- | actionpack/test/dispatch/request_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb index c4cb27429d..806b7d0559 100644 --- a/actionpack/test/dispatch/request_test.rb +++ b/actionpack/test/dispatch/request_test.rb @@ -884,7 +884,7 @@ class RequestFormat < BaseRequestTest assert request.format.html? output.rewind && (err = output.read) - assert_match /Error occurred while parsing request parameters/, err + assert_match(/Error occurred while parsing request parameters/, err) end test "formats with xhr request" do |