aboutsummaryrefslogtreecommitdiffstats
path: root/util/text
diff options
context:
space:
mode:
authorYang Zhang <yang_zhang@iapcm.ac.cn>2018-12-28 23:10:09 +0800
committerYang Zhang <yang_zhang@iapcm.ac.cn>2018-12-30 08:38:31 +0800
commit467ab5b68ef3b0b9694f8987778d0ec0859a0201 (patch)
tree209df5695e7e8d7f155334812aab5f5cc7a2a248 /util/text
parentc0ce41540e775ec0a86770d10d5c3eb75bce0939 (diff)
downloadgit-bug-467ab5b68ef3b0b9694f8987778d0ec0859a0201.tar.gz
Fix tests in left_padded
Diffstat (limited to 'util/text')
-rw-r--r--util/text/left_padded_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/text/left_padded_test.go b/util/text/left_padded_test.go
index 0be79e32..a8ea12fe 100644
--- a/util/text/left_padded_test.go
+++ b/util/text/left_padded_test.go
@@ -16,7 +16,7 @@ func TestLeftPadMaxLine(t *testing.T) {
},
{
"foofoofoo",
- "foo…",
+ "f...",
4,
0,
},
@@ -28,13 +28,13 @@ func TestLeftPadMaxLine(t *testing.T) {
},
{
"foo",
- " f…",
+ " ...",
4,
2,
},
{
"foofoofoo",
- " foo…",
+ " f...",
6,
2,
},