mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
chore: add emoji count test
This commit is contained in:
parent
a096a40fe6
commit
e8d653b2ed
|
@ -243,6 +243,12 @@ func TestWriteLength(t *testing.T) {
|
|||
Input string
|
||||
Colors *color.Set
|
||||
}{
|
||||
{
|
||||
Case: "Emoji",
|
||||
Input: " ⏰ ",
|
||||
Expected: 4,
|
||||
Colors: &color.Set{Foreground: "black", Background: color.ParentBackground},
|
||||
},
|
||||
{
|
||||
Case: "Bold",
|
||||
Input: "<b>test</b>",
|
||||
|
|
Loading…
Reference in a new issue