mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 00:57:48 +01:00
Merge pull request 'test: add trailing newline to testlogger.go:recordError
message' (#5955) from viceice/test/add-newline-to-record-error-msg into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5955 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
commit
5bd682b59d
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 {
|
||||
// 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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue