lib/logger, lib/model: Correct printf format strings in tests

This is a build (test) failure in Go 1.10.
This commit is contained in:
Jakob Borg
2018-01-12 08:26:33 +01:00
parent 14df5211af
commit 6e0f64017a
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ func TestRecorder(t *testing.T) {
t.Fatalf("unexpected line count: %d", len(lines))
}
if lines[0].Message != "hah" {
t.Errorf("incorrect line: %s", lines[0])
t.Errorf("incorrect line: %s", lines[0].Message)
}
}