12 lines
275 B
Go
12 lines
275 B
Go
|
package ptx
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestCoverSilentLogger(t *testing.T) {
|
||
|
// let us not be distracted by uncovered lines that can
|
||
|
// easily be covered, we can easily cover defaultLogger
|
||
|
defaultLogger.Debugf("foo")
|
||
|
defaultLogger.Infof("bar")
|
||
|
defaultLogger.Warnf("baz")
|
||
|
}
|