13 lines
186 B
Go
13 lines
186 B
Go
|
package service
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestSearch(t *testing.T) {
|
||
|
if d, e := NewOtherService().Search("test"); e != nil || d == nil {
|
||
|
|
||
|
t.Error("then test search error", e)
|
||
|
}
|
||
|
}
|