Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit d2ea4d7

Browse files
committed
💚 Adding test coverage for ln methods in noop
1 parent 084a63b commit d2ea4d7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

log_test.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,19 @@ var _ = Describe("noop logger", func() {
172172
})
173173

174174
Context("happy path", func() {
175+
It("does nothing", func() {
176+
logFuncs := map[string]func(...interface{}){
177+
"DEBUG": l.Debugln,
178+
"INFO": l.Infoln,
179+
"WARN": l.Warnln,
180+
"ERROR": l.Errorln,
181+
}
182+
183+
for _, logFunc := range logFuncs {
184+
logFunc("hi there")
185+
}
186+
})
187+
175188
It("does nothing", func() {
176189
logFuncs := map[string]func(...interface{}){
177190
"DEBUG": l.Debug,

0 commit comments

Comments
 (0)