[PATCH 2 of 2 RFC] tests: asciify output of test-encoding-align.t
Yuya Nishihara
yuya at tcha.org
Wed Sep 29 10:31:20 CDT 2010
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1285773687 -32400
# Node ID 765a64c983ae1030e2d58588c009a7820a5802e4
# Parent 497c8c87e8f0882b4a6bd347888e428390827f7b
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 (escape)
-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 (escape)
use "hg -v help showoptlist" to show global options
@@ -96,16 +96,16 @@ 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) (escape)
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) (escape)
check alignment of filenames in diffstat
$ hg diff -c tip --stat
MIDDLE_ | 1 +
- 短名 | 1 +
- 長い長い名前 | 1 +
+ \xe7\x9f\xad\xe5\x90\x8d | 1 + (escape)
+ \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d | 1 + (escape)
3 files changed, 3 insertions(+), 0 deletions(-)
add branches/tags
@@ -124,14 +124,14 @@ 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 (escape)
MIDDLE_ 3:b06c5b6def9e
- 短名 2:64a70663cee8
+ \xe7\x9f\xad\xe5\x90\x8d 2:64a70663cee8 (escape)
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 (escape)
MIDDLE_ 3:b06c5b6def9e
- 短名 2:64a70663cee8
+ \xe7\x9f\xad\xe5\x90\x8d 2:64a70663cee8 (escape)
More information about the Mercurial-devel
mailing list