From b626655ffcc207cbca9a629c20fd7d8baf9c96ab Mon Sep 17 00:00:00 2001 From: shipengqi Date: Wed, 6 Sep 2023 14:28:24 +0800 Subject: [PATCH] fix: unit tests error --- log_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log_test.go b/log_test.go index e03787d..2b7f2b2 100644 --- a/log_test.go +++ b/log_test.go @@ -141,7 +141,7 @@ func TestGlobalLogger(t *testing.T) { L().Warnf("Hello, %s", name+"3") L().Errorf("Hello, %s", name+"4") expected := []string{ - "debug log/log_test.go:1389Hello, world1", + "debug log/log_test.go:139Hello, world1", "info log/log_test.go:140 Hello, world2", "warn log/log_test.go:141 Hello, world3", "error log/log_test.go:142 Hello, world4",