(t *testing.T)
| 86 | } |
| 87 | |
| 88 | func TestLoggerDebugSuppressed(t *testing.T) { |
| 89 | checkMessages(t, zapcore.InfoLevel, []Option{WithDebug()}, zapcore.DebugLevel, nil, func(logger *Logger) { |
| 90 | logger.Print("hello") |
| 91 | logger.Printf("%s world", "hello") |
| 92 | logger.Println() |
| 93 | logger.Println("foo") |
| 94 | logger.Println("foo", "bar") |
| 95 | }) |
| 96 | } |
| 97 | |
| 98 | func TestLoggerWarningExpected(t *testing.T) { |
| 99 | checkMessages(t, zapcore.DebugLevel, nil, zapcore.WarnLevel, []string{ |
nothing calls this directly
no test coverage detected