We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047a958 commit 9fb8144Copy full SHA for 9fb8144
pkg/misc/strings_test.go
@@ -73,7 +73,7 @@ func TestShortString(t *testing.T) {
73
{"what a stupid text", 7, 5, "what a … text"},
74
{"what a great text", 8, 9, "what a great text"},
75
{"what a great text", 6, 7, "what a…at text"},
76
- {"日本語偽善者", 2, 2, "日本…善者"},
+ {"日本語偽善者", 1, 4, "日本語偽善者"}, // Text + ellipsis must be shorter, or do not use ellipses
77
{"日本語偽善者", 1, 1, "日…者"},
78
{"ab日本語皮を被る", 1, 2, "a…被る"},
79
{"", 0, 0, ""},
0 commit comments