Skip to content

Commit 65f725d

Browse files
committed
Add a missing assert_deprecated in quoting_test.rb
1 parent 0659e0b commit 65f725d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

activerecord/test/cases/quoting_test.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,10 @@ def test_quote_string_no_column
190190
end
191191

192192
def test_quote_as_mb_chars_no_column
193-
string = ActiveSupport::Multibyte::Chars.new('lo\l')
194-
assert_equal "'lo\\\\l'", @quoter.quote(string)
193+
assert_deprecated(ActiveSupport.deprecator) do
194+
string = ActiveSupport::Multibyte::Chars.new('lo\l')
195+
assert_equal "'lo\\\\l'", @quoter.quote(string)
196+
end
195197
end
196198

197199
def test_quote_duration

0 commit comments

Comments
 (0)