mirror of
1
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() {
if err := WriterCloser.popT(); err != nil {
// 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)
}
}