all: test: Fix govet warnings

Fix calls to t.Fatal() with formatting.
Fixed some calls to Fatalf() with wrong formatting
This commit is contained in:
Félix Cantournet
2016-12-21 19:08:27 +01:00
parent 1ae7dafd57
commit 0d6d4211b8
16 changed files with 43 additions and 43 deletions

View File

@@ -124,7 +124,7 @@ func TestServer_ReloadListener(t *testing.T) {
checkFinished := func() {
finishedMutex.Lock()
if finished {
t.Fatal(fmt.Sprintf("finished early; relhcl was\n%s\nstdout was\n%s\nstderr was\n%s\n", relhcl, ui.OutputWriter.String(), ui.ErrorWriter.String()))
t.Fatalf(fmt.Sprintf("finished early; relhcl was\n%s\nstdout was\n%s\nstderr was\n%s\n", relhcl, ui.OutputWriter.String(), ui.ErrorWriter.String()))
}
finishedMutex.Unlock()
}