mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user