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:
Toshi MARUYAMA 2012-09-15 15:41:47 +00:00
parent 72af2730ff
commit 67cdaabe6f
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ begin
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')
str_felix_hex.force_encoding('ASCII-8BIT')
end
assert_equal "ed5bb786bbda2dee66a2d50faf51429dbc043a7b", last_rev.scmid
assert_equal "ed5bb786bbda2dee66a2d50faf51429dbc043a7b", last_rev.identifier