mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
GO-4414 Allow user to choose a primary language (#2172)
This commit is contained in:
parent
b243f1f4e2
commit
19e2abb130
25 changed files with 1701 additions and 1375 deletions
|
@ -32,19 +32,31 @@ func TestTruncateEllipsized(t *testing.T) {
|
|||
expected: " ",
|
||||
},
|
||||
{
|
||||
name: "Divine emojie not fit",
|
||||
name: "Divine emoji not fit",
|
||||
text: "🌍",
|
||||
length: 1,
|
||||
expected: " …",
|
||||
},
|
||||
{
|
||||
name: "Divine emojies fit",
|
||||
name: "Big emoji fit",
|
||||
text: "👨👩👧👦",
|
||||
length: 11,
|
||||
expected: "👨👩👧👦",
|
||||
},
|
||||
{
|
||||
name: "Big emoji not fit",
|
||||
text: "👨👩👧👦",
|
||||
length: 10,
|
||||
expected: "👨\u200d👩\u200d👧 …",
|
||||
},
|
||||
{
|
||||
name: "Divine emoji fit",
|
||||
text: "🌍",
|
||||
length: 4,
|
||||
expected: "🌍",
|
||||
},
|
||||
{
|
||||
name: "Text with divine emojies not fit",
|
||||
name: "Text with divine emoji not fit",
|
||||
text: "Hello 🌍",
|
||||
length: 7,
|
||||
expected: "Hello …",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue