scm: git: change test author encoding in unit adapter test to ASCII-8BIT
Author encoding in adapter is ASCII-8BIT. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10384 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
72af2730ff
commit
67cdaabe6f
|
@ -400,7 +400,7 @@ begin
|
||||||
str_felix_hex = FELIX_HEX.dup
|
str_felix_hex = FELIX_HEX.dup
|
||||||
last_rev_author = last_rev.author
|
last_rev_author = last_rev.author
|
||||||
if last_rev_author.respond_to?(:force_encoding)
|
if last_rev_author.respond_to?(:force_encoding)
|
||||||
last_rev_author.force_encoding('UTF-8')
|
str_felix_hex.force_encoding('ASCII-8BIT')
|
||||||
end
|
end
|
||||||
assert_equal "ed5bb786bbda2dee66a2d50faf51429dbc043a7b", last_rev.scmid
|
assert_equal "ed5bb786bbda2dee66a2d50faf51429dbc043a7b", last_rev.scmid
|
||||||
assert_equal "ed5bb786bbda2dee66a2d50faf51429dbc043a7b", last_rev.identifier
|
assert_equal "ed5bb786bbda2dee66a2d50faf51429dbc043a7b", last_rev.identifier
|
||||||
|
|
Loading…
Reference in New Issue