From 21a167304bc6d13ca520aead055b0090fa77d6d4 Mon Sep 17 00:00:00 2001 From: huangsimin Date: Thu, 25 Oct 2018 15:43:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B2=A1=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E6=B3=A8=E9=87=8A!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- session_test.go | 3 --- workflow.go | 1 - 2 files changed, 4 deletions(-) diff --git a/session_test.go b/session_test.go index 4e41b66..8a59bce 100644 --- a/session_test.go +++ b/session_test.go @@ -30,7 +30,6 @@ func TestSession_Get(t *testing.T) { fields fields args args }{ - // TODO: Add test cases. { name: "Get test", fields: fields{client: &http.Client{}}, @@ -107,7 +106,6 @@ func TestSession_Setparams(t *testing.T) { want *regexp.Regexp wantErr bool }{ - // TODO: Add test cases. { name: "test Setparams", args: args{params: []interface{}{map[string]string{"a": "1", "b": "2"}}}, @@ -285,7 +283,6 @@ func TestSession_SetConfig(t *testing.T) { args args wantErr bool }{ - // TODO: Add test cases. { name: "test timeout", args: args{typeConfig: ConfigRequestTimeout, values: 0.01}, diff --git a/workflow.go b/workflow.go index cb45fd8..ca7522b 100644 --- a/workflow.go +++ b/workflow.go @@ -170,7 +170,6 @@ func (wf *Workflow) SetBodyParams(params ...interface{}) *Workflow { } if defaultContentType == TypeFormData { - // TODO: form-data createMultipart(wf.Body, params) } else {