From 707eb771af3243d65a087d98daf9bc1baa24fa60 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Tue, 31 Oct 2023 20:02:58 -0400 Subject: [PATCH] fix: add emoji test --- logger_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/logger_test.go b/logger_test.go index 7be9d5d..b9f8a7e 100644 --- a/logger_test.go +++ b/logger_test.go @@ -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()