CasaOS/service/other_test.go
Tiger Wang 717b47ca2c
clean up some unnecessary dependencies, logics, and linter warnings (#963)
Signed-off-by: Tiger Wang <tigerwang@outlook.com>
2023-03-18 20:55:51 -04:00

15 lines
231 B
Go

package service
import (
"testing"
"go.uber.org/goleak"
)
func TestSearch(t *testing.T) {
goleak.VerifyNone(t)
if d, e := NewOtherService().Search("test"); e != nil || d == nil {
t.Error("then test search error", e)
}
}