##// END OF EJS Templates
scm: mercurial: prepare tests of named branch and tag in functional test (#1981, #7246)....
Toshi MARUYAMA -
r4998:f3822e18bd60
parent child
Show More
@@ -43,8 +43,14 class RepositoriesMercurialControllerTest < ActionController::TestCase
43 assert @repository
43 assert @repository
44 @diff_c_support = true
44 @diff_c_support = true
45 @char_1 = CHAR_1_HEX.dup
45 @char_1 = CHAR_1_HEX.dup
46 @tag_char_1 = "tag-#{CHAR_1_HEX}-00"
47 @branch_char_0 = "branch-#{CHAR_1_HEX}-00"
48 @branch_char_1 = "branch-#{CHAR_1_HEX}-01"
46 if @char_1.respond_to?(:force_encoding)
49 if @char_1.respond_to?(:force_encoding)
47 @char_1.force_encoding('UTF-8')
50 @char_1.force_encoding('UTF-8')
51 @tag_char_1.force_encoding('UTF-8')
52 @branch_char_0.force_encoding('UTF-8')
53 @branch_char_1.force_encoding('UTF-8')
48 end
54 end
49 end
55 end
50
56
General Comments 0
You need to be logged in to leave comments. Login now