Skip to content

Commit 82ba392

Browse files
committed
Fix warning: ambiguous first argument
1 parent 4394e90 commit 82ba392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/scoping/relation_scoping_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def test_merge_options
246246
devs = Developer.all
247247
sql = devs.to_sql
248248
assert_match "(salary = 80000)", sql
249-
assert_match /LIMIT 10|ROWNUM <= 10|FETCH FIRST 10 ROWS ONLY/, sql
249+
assert_match(/LIMIT 10|ROWNUM <= 10|FETCH FIRST 10 ROWS ONLY/, sql)
250250
end
251251
end
252252
end

0 commit comments

Comments
 (0)