mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -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
|
Input string
|
||||||
Colors *color.Set
|
Colors *color.Set
|
||||||
}{
|
}{
|
||||||
|
{
|
||||||
|
Case: "Emoji",
|
||||||
|
Input: " ⏰ ",
|
||||||
|
Expected: 4,
|
||||||
|
Colors: &color.Set{Foreground: "black", Background: color.ParentBackground},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Case: "Bold",
|
Case: "Bold",
|
||||||
Input: "<b>test</b>",
|
Input: "<b>test</b>",
|
||||||
|
|
Loading…
Reference in a new issue