From 467ab5b68ef3b0b9694f8987778d0ec0859a0201 Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Fri, 28 Dec 2018 23:10:09 +0800 Subject: Fix tests in left_padded --- util/text/left_padded_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/text') 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, }, -- cgit