summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-13 05:00:53 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-13 05:00:53 +0000
commit25778c48de3034d9c5b4306fcb3d4d9df7e000dc (patch)
tree09048d1826b59d3c46ad3e283ea67985291ca506
parent8453c3544fad5d3ca54799b0872e69e930418fc1 (diff)
downloadredmine-25778c48de3034d9c5b4306fcb3d4d9df7e000dc.tar.gz
redmine-25778c48de3034d9c5b4306fcb3d4d9df7e000dc.zip
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
-rw-r--r--test/functional/repositories_mercurial_controller_test.rb4
1 files changed, 1 insertions, 3 deletions
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}'"