aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_to_sql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/visitors/test_to_sql.rb')
-rw-r--r--test/visitors/test_to_sql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb
index 65d36bc004..a88c888908 100644
--- a/test/visitors/test_to_sql.rb
+++ b/test/visitors/test_to_sql.rb
@@ -249,7 +249,7 @@ module Arel
it "unsupported input should not raise ArgumentError" do
error = assert_raises(RuntimeError) { compile(nil) }
- assert_match /\Aunsupported/, error.message
+ assert_match(/\Aunsupported/, error.message)
end
it "should visit_Arel_SelectManager, which is a subquery" do