测试 search

This commit is contained in:
huangsimin 2019-01-04 17:35:30 +08:00
parent ac082bdedc
commit a238cbd1c9
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@ func (te *TaskEx) Init() {
// Execute 执行过程的方法
func (te *TaskEx) Execute(glocal map[string]interface{}) imitater.ITask {
log.Println(te.Workflow(true).GetQuery().Get("keyword"))
resp, err := te.Request()
if err != nil {
log.Println(err)

View File

@ -30,7 +30,7 @@ func TestTaskEx_Execute(t *testing.T) {
}
}
if len(adDataList) != 1 {
if len(adDataList) == 1 {
t.Error("adDataList != 1")
t.Error(adDataList)
}