Fix: Prints should always include new lines (#102795)

* CI: Allow Bench conversion to fail

We shouldn't mark PRs and commits as X if they fail to convert logs with Bench.

* Fix: Prints should always include new lines

* fix: remove unused import
This commit is contained in:
Mariell Hoversholm
2025-03-27 12:27:53 +01:00
committed by GitHub
parent 9094c73e33
commit e1e1d3fd9f
15 changed files with 40 additions and 32 deletions
@@ -1,7 +1,6 @@
package test
import (
"fmt"
"testing"
"time"
@@ -56,7 +55,7 @@ func setupTestDB(t *testing.T) *xorm.Engine {
t.Cleanup(func() {
if err := x.Close(); err != nil {
fmt.Printf("failed to close xorm engine: %v", err)
t.Logf("failed to close xorm engine: %v", err)
}
})