1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

remove empty lines including trailing white space from test/unit/search_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16334 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2017-02-16 05:49:08 +00:00
parent 3da129ddcf
commit 1aa32dfd37

View File

@ -153,7 +153,6 @@ class SearchTest < ActiveSupport::TestCase
unless sqlite?
issue1 = Issue.generate!(:subject => "Special chars: ÖÖ")
issue2 = Issue.generate!(:subject => "Special chars: Öö")
r = Issue.search_results('ÖÖ')
assert_include issue1, r
assert_include issue2, r
@ -164,7 +163,6 @@ class SearchTest < ActiveSupport::TestCase
if mysql?
issue1 = Issue.generate!(:subject => "OO")
issue2 = Issue.generate!(:subject => "oo")
r = Issue.search_results('ÖÖ')
assert_include issue1, r
assert_include issue2, r
@ -178,10 +176,8 @@ class SearchTest < ActiveSupport::TestCase
ActiveRecord::Base.connection.execute("CREATE EXTENSION IF NOT EXISTS unaccent")
Redmine::Database.reset
assert Redmine::Database.postgresql_unaccent?
issue1 = Issue.generate!(:subject => "OO")
issue2 = Issue.generate!(:subject => "oo")
r = Issue.search_results('ÖÖ')
assert_include issue1, r
assert_include issue2, r