提交 edf92f3a 编写于 作者: R Ryuta Kamizono

Remove useless `test_string_with_crazy_column`

Passing `FakeColumn` was removed at #15336 therefore
`test_string_with_crazy_column` is duplicated with
`test_quote_string_no_column`.
上级 ac122514
......@@ -133,16 +133,12 @@ def test_crazy_object
end
def test_quote_string_no_column
assert_equal "'lo\\\\l'", @quoter.quote('lo\l', nil)
assert_equal "'lo\\\\l'", @quoter.quote('lo\l')
end
def test_quote_as_mb_chars_no_column
string = ActiveSupport::Multibyte::Chars.new('lo\l')
assert_equal "'lo\\\\l'", @quoter.quote(string, nil)
end
def test_string_with_crazy_column
assert_equal "'lo\\\\l'", @quoter.quote('lo\l')
assert_equal "'lo\\\\l'", @quoter.quote(string)
end
def test_quote_duration
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册