test: add trailing newline to testlogger.go:recordError message

This commit is contained in:
Michael Kriese 2024-11-14 14:38:47 +01:00
parent bd42f677b4
commit 969027e3f2
No known key found for this signature in database
GPG key ID: F8D7748549A5986A

View file

@ -486,7 +486,7 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() {
if err := WriterCloser.popT(); err != nil { if err := WriterCloser.popT(); err != nil {
// disable test failure for now (too flacky) // disable test failure for now (too flacky)
_, _ = fmt.Fprintf(os.Stdout, "testlogger.go:recordError() FATAL ERROR: log.Error has been called: %v", err) _, _ = fmt.Fprintf(os.Stdout, "testlogger.go:recordError() FATAL ERROR: log.Error has been called: %v\n", err)
// t.Errorf("testlogger.go:recordError() FATAL ERROR: log.Error has been called: %v", err) // t.Errorf("testlogger.go:recordError() FATAL ERROR: log.Error has been called: %v", err)
} }
} }