##// END OF EJS Templates
scm: mercurial: prepare tests of named branch and tag in unit model test (#1981, #7246)....
Toshi MARUYAMA -
r4997:7e96ea617c89
parent child
Show More
@@ -34,8 +34,14 class RepositoryMercurialTest < ActiveSupport::TestCase
34 )
34 )
35 assert @repository
35 assert @repository
36 @char_1 = CHAR_1_HEX.dup
36 @char_1 = CHAR_1_HEX.dup
37 @tag_char_1 = "tag-#{CHAR_1_HEX}-00"
38 @branch_char_0 = "branch-#{CHAR_1_HEX}-00"
39 @branch_char_1 = "branch-#{CHAR_1_HEX}-01"
37 if @char_1.respond_to?(:force_encoding)
40 if @char_1.respond_to?(:force_encoding)
38 @char_1.force_encoding('UTF-8')
41 @char_1.force_encoding('UTF-8')
42 @tag_char_1.force_encoding('UTF-8')
43 @branch_char_0.force_encoding('UTF-8')
44 @branch_char_1.force_encoding('UTF-8')
39 end
45 end
40 end
46 end
41
47
General Comments 0
You need to be logged in to leave comments. Login now