Commit 322d426c authored by marutosijp's avatar marutosijp
Browse files

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

git-svn-id: https://svn.redmine.org/redmine/trunk@16334 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 60b960f2
...@@ -153,7 +153,6 @@ class SearchTest < ActiveSupport::TestCase ...@@ -153,7 +153,6 @@ class SearchTest < ActiveSupport::TestCase
unless sqlite? unless sqlite?
issue1 = Issue.generate!(:subject => "Special chars: ÖÖ") issue1 = Issue.generate!(:subject => "Special chars: ÖÖ")
issue2 = Issue.generate!(:subject => "Special chars: Öö") issue2 = Issue.generate!(:subject => "Special chars: Öö")
r = Issue.search_results('ÖÖ') r = Issue.search_results('ÖÖ')
assert_include issue1, r assert_include issue1, r
assert_include issue2, r assert_include issue2, r
...@@ -164,7 +163,6 @@ class SearchTest < ActiveSupport::TestCase ...@@ -164,7 +163,6 @@ class SearchTest < ActiveSupport::TestCase
if mysql? if mysql?
issue1 = Issue.generate!(:subject => "OO") issue1 = Issue.generate!(:subject => "OO")
issue2 = Issue.generate!(:subject => "oo") issue2 = Issue.generate!(:subject => "oo")
r = Issue.search_results('ÖÖ') r = Issue.search_results('ÖÖ')
assert_include issue1, r assert_include issue1, r
assert_include issue2, r assert_include issue2, r
...@@ -178,10 +176,8 @@ class SearchTest < ActiveSupport::TestCase ...@@ -178,10 +176,8 @@ class SearchTest < ActiveSupport::TestCase
ActiveRecord::Base.connection.execute("CREATE EXTENSION IF NOT EXISTS unaccent") ActiveRecord::Base.connection.execute("CREATE EXTENSION IF NOT EXISTS unaccent")
Redmine::Database.reset Redmine::Database.reset
assert Redmine::Database.postgresql_unaccent? assert Redmine::Database.postgresql_unaccent?
issue1 = Issue.generate!(:subject => "OO") issue1 = Issue.generate!(:subject => "OO")
issue2 = Issue.generate!(:subject => "oo") issue2 = Issue.generate!(:subject => "oo")
r = Issue.search_results('ÖÖ') r = Issue.search_results('ÖÖ')
assert_include issue1, r assert_include issue1, r
assert_include issue2, r assert_include issue2, r
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment