From e69a7ee42dc09892477808f1243d029ce1abf311 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 27 Jul 2019 10:41:37 +0900 Subject: Fix "warning: ambiguous first argument; put parentheses or a space even after `/' operator" --- actionpack/test/dispatch/request_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 -- cgit v1.2.3