Skip to content

Commit

Permalink
fix: add emoji test
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Nov 1, 2023
1 parent 9c25f94 commit 707eb77
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ func TestSubLogger(t *testing.T) {
fields: []interface{}{"foo", "bar"},
kvs: []interface{}{"foobar", "baz"},
},
{
name: "emoji",
expected: "INFO 👍 🐱\n",
msg: "👍 🐱",
fields: nil,
kvs: nil,
},
}
for _, c := range cases {
buf.Reset()
Expand Down

0 comments on commit 707eb77

Please sign in to comment.