diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-09-12 12:02:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-12 12:02:34 -0700 |
commit | dc75104948bad953947716c018fc71ba28e0e236 (patch) | |
tree | edd5468782af5a6c4f7efb392120435ce34cd695 /activerecord/test/cases | |
parent | e23cbdda632e3e7ef228cfe8b12832f1bad1c706 (diff) | |
parent | edf92f3a0d57942ea84ebac6b9b9f4d7bec3d898 (diff) | |
download | rails-dc75104948bad953947716c018fc71ba28e0e236.tar.gz rails-dc75104948bad953947716c018fc71ba28e0e236.tar.bz2 rails-dc75104948bad953947716c018fc71ba28e0e236.zip |
Merge pull request #26460 from kamipo/remove_useless_test_string_with_crazy_column
Remove useless `test_string_with_crazy_column`
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/quoting_test.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/activerecord/test/cases/quoting_test.rb b/activerecord/test/cases/quoting_test.rb index 1c276aa765..296dafacc2 100644 --- a/activerecord/test/cases/quoting_test.rb +++ b/activerecord/test/cases/quoting_test.rb @@ -133,16 +133,12 @@ module ActiveRecord 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 |