From: Toshi MARUYAMA Date: Fri, 13 Sep 2019 05:00:53 +0000 (+0000) Subject: code clean up test/functional/repositories_mercurial_controller_test.rb X-Git-Tag: 4.1.0~615 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=25778c48de3034d9c5b4306fcb3d4d9df7e000dc;p=redmine.git code clean up test/functional/repositories_mercurial_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18464 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/repositories_mercurial_controller_test.rb b/test/functional/repositories_mercurial_controller_test.rb index 29ddc4fca..0568fdb32 100644 --- a/test/functional/repositories_mercurial_controller_test.rb +++ b/test/functional/repositories_mercurial_controller_test.rb @@ -29,8 +29,6 @@ class RepositoriesMercurialControllerTest < Redmine::RepositoryControllerTest PRJ_ID = 3 NUM_REV = 34 - ruby19_non_utf8_pass = Encoding.default_external.to_s != 'UTF-8' - def setup super User.current = nil @@ -44,7 +42,7 @@ class RepositoriesMercurialControllerTest < Redmine::RepositoryControllerTest @diff_c_support = true end - if ruby19_non_utf8_pass + if Encoding.default_external.to_s != 'UTF-8' puts "TODO: Mercurial functional test fails " + "when Encoding.default_external is not UTF-8. " + "Current value is '#{Encoding.default_external.to_s}'"