Skip to content

Commit

Permalink
Add test log init (IceWhaleTech#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong authored Mar 22, 2023
1 parent 6cf46ce commit 7022cf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/other_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ package service
import (
"testing"

"github.com/IceWhaleTech/CasaOS-Common/utils/logger"
"go.uber.org/goleak"
)

func TestSearch(t *testing.T) {
logger.LogInitConsoleOnly()
goleak.VerifyNone(t)

if d, e := NewOtherService().Search("test"); e != nil || d == nil {
Expand Down

0 comments on commit 7022cf5

Please sign in to comment.