diff --git a/ansi/truncate_test.go b/ansi/truncate_test.go index 62afd8f5..842c3cc0 100644 --- a/ansi/truncate_test.go +++ b/ansi/truncate_test.go @@ -16,6 +16,7 @@ var tcases = []struct { {"equalascii", "one", ".", 3, "one"}, {"equalemoji", "on๐Ÿ‘‹", ".", 3, "on."}, {"equalcontrolemoji", "one\x1b[0m", ".", 3, "one\x1b[0m"}, + {"truncate_tail_greater", "foo", "...", 5, "foo"}, {"simple", "foobar", "", 3, "foo"}, {"passthrough", "foobar", "", 10, "foobar"}, {"ascii", "hello", "", 3, "hel"},