mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 20:07:03 +01:00
test: add trailing newline to testlogger.go:recordError
message
This commit is contained in:
parent
bd42f677b4
commit
969027e3f2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue