mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 13:55:52 +01:00
scm: git: strict Ruby 1.9 string test in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5164 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -128,8 +128,8 @@ begin
|
||||
def test_last_rev_with_spaces_in_filename
|
||||
last_rev = @adapter.lastrev("filemane with spaces.txt",
|
||||
"ed5bb786bbda2dee66a2d50faf51429dbc043a7b")
|
||||
str_felix_utf8 = FELIX_UTF8
|
||||
str_felix_hex = FELIX_HEX
|
||||
str_felix_utf8 = FELIX_UTF8.dup
|
||||
str_felix_hex = FELIX_HEX.dup
|
||||
last_rev_author = last_rev.author
|
||||
if last_rev_author.respond_to?(:force_encoding)
|
||||
last_rev_author.force_encoding('UTF-8')
|
||||
|
||||
Reference in New Issue
Block a user