scm: mercurial: define NUM_REV as the number of test repository revisions at functional test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7126 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-12 01:14:24 +00:00
parent e47f55eccf
commit 467d72bbb8
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
REPOSITORY_PATH = Rails.root.join('tmp/test/mercurial_repository').to_s
CHAR_1_HEX = "\xc3\x9c"
PRJ_ID = 3
NUM_REV = 29
ruby19_non_utf8_pass =
(RUBY_VERSION >= '1.9' && Encoding.default_external.to_s != 'UTF-8')