1
0
Fork 0
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:
Alex Bramley 2011-10-27 18:24:08 +01:00
parent 2f5d4d86a5
commit 97783df463
2 changed files with 3 additions and 1 deletions

View file

@ -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)