mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-27 02:41:15 +00:00
remove trailing white spaces from test/functional/timelog_report_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@17134 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
cf7c9b9b12
commit
fca43b026e
@ -263,7 +263,7 @@ class TimelogReportTest < Redmine::ControllerTest
|
||||
end
|
||||
assert_response :success
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
lines = @response.body.chomp.split("\n")
|
||||
lines = @response.body.chomp.split("\n")
|
||||
# Headers
|
||||
s1 = "\xa5\xce\xa4\xe1,2011-11-11,\xa4u\xae\xc9\xc1`\xadp".force_encoding('Big5')
|
||||
s2 = "\xa4u\xae\xc9\xc1`\xadp".force_encoding('Big5')
|
||||
@ -310,7 +310,7 @@ class TimelogReportTest < Redmine::ControllerTest
|
||||
end
|
||||
assert_response :success
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
lines = @response.body.chomp.split("\n")
|
||||
lines = @response.body.chomp.split("\n")
|
||||
# Headers
|
||||
s1 = "\xa5\xce\xa4\xe1,2011-11-11,\xa4u\xae\xc9\xc1`\xadp".force_encoding('Big5')
|
||||
assert_equal s1, lines.first
|
||||
@ -345,7 +345,7 @@ class TimelogReportTest < Redmine::ControllerTest
|
||||
}
|
||||
assert_response :success
|
||||
assert_equal 'text/csv; header=present', @response.content_type
|
||||
lines = @response.body.chomp.split("\n")
|
||||
lines = @response.body.chomp.split("\n")
|
||||
# Headers
|
||||
s1 = "Utilisateur;2011-11-11;Temps total".force_encoding('ISO-8859-1')
|
||||
s2 = "Temps total".force_encoding('ISO-8859-1')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user