mirror of
https://github.com/fluffle/goirc
synced 2025-07-12 08:11:17 +00:00
Make mock loggers log everything to avoid stupids.
This commit is contained in:
parent
2f5d4d86a5
commit
97783df463
2 changed files with 3 additions and 1 deletions
|
@ -16,6 +16,7 @@ func TestLogCorrectLineNumbers(t *testing.T) {
|
|||
|
||||
func TestStandardLogging(t *testing.T) {
|
||||
l, m := NewMock()
|
||||
l.SetLogLevel(Error)
|
||||
|
||||
l.Log(4, "Nothing should be logged yet")
|
||||
m.CheckNothingWritten(t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue