CasaOS/service/other_test.go
2023-03-22 14:07:01 +08:00

17 lines
314 B
Go

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 {
t.Error("then test search error", e)
}
}