mirror of
https://github.com/redmine/redmine.git
synced 2026-07-06 16:09:07 +02:00
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
This commit is contained in:
@@ -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}'"
|
||||
|
||||
Reference in New Issue
Block a user