do not use redundant .to_s in RepositoriesMercurialControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@19763 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-05-08 12:25:27 +00:00
parent 688c613054
commit dc8b695f9e

View File

@@ -45,7 +45,7 @@ class RepositoriesMercurialControllerTest < Redmine::RepositoryControllerTest
if Encoding.default_external.to_s != 'UTF-8' if Encoding.default_external.to_s != 'UTF-8'
puts "TODO: Mercurial functional test fails " + puts "TODO: Mercurial functional test fails " +
"when Encoding.default_external is not UTF-8. " + "when Encoding.default_external is not UTF-8. " +
"Current value is '#{Encoding.default_external.to_s}'" "Current value is '#{Encoding.default_external}'"
def test_fake; assert true end def test_fake; assert true end
elsif File.directory?(REPOSITORY_PATH) elsif File.directory?(REPOSITORY_PATH)