diff options
author | Yang Zhang <yang_zhang@iapcm.ac.cn> | 2018-12-28 23:10:09 +0800 |
---|---|---|
committer | Yang Zhang <yang_zhang@iapcm.ac.cn> | 2018-12-30 08:38:31 +0800 |
commit | 467ab5b68ef3b0b9694f8987778d0ec0859a0201 (patch) | |
tree | 209df5695e7e8d7f155334812aab5f5cc7a2a248 | |
parent | c0ce41540e775ec0a86770d10d5c3eb75bce0939 (diff) | |
download | git-bug-467ab5b68ef3b0b9694f8987778d0ec0859a0201.tar.gz |
Fix tests in left_padded
-rw-r--r-- | util/text/left_padded_test.go | 6 |
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, }, |