scm: mercurial: add test of non ASCII named branch in unit adapter test (#7246).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5115 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5abec74de3
commit
cbe59c5990
|
@ -290,6 +290,12 @@ begin
|
||||||
assert_equal 1, @adapter.annotate(p, @tag_char_1).lines.length
|
assert_equal 1, @adapter.annotate(p, @tag_char_1).lines.length
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_branch_non_ascii
|
||||||
|
p = "latin-1-dir/test-#{@char_1}-subdir/test-#{@char_1}-1.txt"
|
||||||
|
assert @adapter.cat(p, @branch_char_1)
|
||||||
|
assert_equal 1, @adapter.annotate(p, @branch_char_1).lines.length
|
||||||
|
end
|
||||||
|
|
||||||
def test_nodes_in_branch
|
def test_nodes_in_branch
|
||||||
[
|
[
|
||||||
'default',
|
'default',
|
||||||
|
|
Loading…
Reference in New Issue