Skip to content

Commit bccebf2

Browse files
committed
Fix typo
1 parent ef68bd3 commit bccebf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leveled_logger_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func TestDynamicCallDepth(t *testing.T) {
9898
t.Run("error", func(t *testing.T) {
9999
buf.Reset()
100100
err := func(a ...interface{}) {
101-
l.WarnDepth(1, a...)
101+
l.ErrorDepth(1, a...)
102102
}
103103
err("ERROR log")
104104
assertFileAndLine(t, buf.String(), 103)

0 commit comments

Comments
 (0)