From 67cdaabe6f50647d57d635f19db9d1acbad2b374 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 15 Sep 2012 15:41:47 +0000 Subject: [PATCH] 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 --- test/unit/lib/redmine/scm/adapters/git_adapter_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb index 15200184e..1189e6cff 100644 --- a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @@ -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 -- 2.39.5