From 969027e3f2890c1ebc7a361959ad8bacd59627c1 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Thu, 14 Nov 2024 14:38:47 +0100 Subject: [PATCH] test: add trailing newline to `testlogger.go:recordError` message --- modules/testlogger/testlogger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/testlogger/testlogger.go b/modules/testlogger/testlogger.go index b83cb323c9..d176ab9e4a 100644 --- a/modules/testlogger/testlogger.go +++ b/modules/testlogger/testlogger.go @@ -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) } }