# HG changeset patch # User Yuya Nishihara # Date 2010-10-02 13:59:29 # Node ID 22f45e53bb21848c5f4c3d4f4136d968ee25866d # Parent d4e21a9de8bcdb86a17917deb680d24fcd52c39b tests: asciify output of test-encoding-align.t diff --git a/tests/test-encoding-align.t b/tests/test-encoding-align.t --- a/tests/test-encoding-align.t +++ b/tests/test-encoding-align.t @@ -52,9 +52,9 @@ check alignment of option descriptions i options: - -s --opt1 短名 short width + -s --opt1 \xe7\x9f\xad\xe5\x90\x8d short width -m --opt2 MIDDLE_ middle width - -l --opt3 長い長い名前 long width + -l --opt3 \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d long width use "hg -v help showoptlist" to show global options @@ -96,42 +96,42 @@ commit(3) check alignment of user names in annotate $ hg annotate -u $M - 短名: first line(2) + \xe7\x9f\xad\xe5\x90\x8d: first line(2) MIDDLE_: second line(2) - 長い長い名前: third line(2) + \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d: third line(2) check alignment of filenames in diffstat $ hg diff -c tip --stat MIDDLE_ | 1 + - 短名 | 1 + - 長い長い名前 | 1 + + \xe7\x9f\xad\xe5\x90\x8d | 1 + + \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) add branches/tags $ hg branch $S - marked working directory as branch 短名 + marked working directory as branch \xe7\x9f\xad\xe5\x90\x8d $ hg tag $S $ hg branch $M marked working directory as branch MIDDLE_ $ hg tag $M $ hg branch $L - marked working directory as branch 長い長い名前 + marked working directory as branch \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d $ hg tag $L check alignment of branches $ hg tags tip 5:d745ff46155b - 長い長い名前 4:9259be597f19 + \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d 4:9259be597f19 MIDDLE_ 3:b06c5b6def9e - 短名 2:64a70663cee8 + \xe7\x9f\xad\xe5\x90\x8d 2:64a70663cee8 check alignment of tags $ hg tags tip 5:d745ff46155b - 長い長い名前 4:9259be597f19 + \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d 4:9259be597f19 MIDDLE_ 3:b06c5b6def9e - 短名 2:64a70663cee8 + \xe7\x9f\xad\xe5\x90\x8d 2:64a70663cee8