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:
Toshi MARUYAMA 2011-03-17 03:54:22 +00:00
parent 899d1d8acb
commit a9d089dbcb
1 changed files with 2 additions and 2 deletions

View File

@ -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')