删除没必要的注释!
This commit is contained in:
parent
54b481c9f5
commit
21a167304b
|
@ -30,7 +30,6 @@ func TestSession_Get(t *testing.T) {
|
||||||
fields fields
|
fields fields
|
||||||
args args
|
args args
|
||||||
}{
|
}{
|
||||||
// TODO: Add test cases.
|
|
||||||
{
|
{
|
||||||
name: "Get test",
|
name: "Get test",
|
||||||
fields: fields{client: &http.Client{}},
|
fields: fields{client: &http.Client{}},
|
||||||
|
@ -107,7 +106,6 @@ func TestSession_Setparams(t *testing.T) {
|
||||||
want *regexp.Regexp
|
want *regexp.Regexp
|
||||||
wantErr bool
|
wantErr bool
|
||||||
}{
|
}{
|
||||||
// TODO: Add test cases.
|
|
||||||
{
|
{
|
||||||
name: "test Setparams",
|
name: "test Setparams",
|
||||||
args: args{params: []interface{}{map[string]string{"a": "1", "b": "2"}}},
|
args: args{params: []interface{}{map[string]string{"a": "1", "b": "2"}}},
|
||||||
|
@ -285,7 +283,6 @@ func TestSession_SetConfig(t *testing.T) {
|
||||||
args args
|
args args
|
||||||
wantErr bool
|
wantErr bool
|
||||||
}{
|
}{
|
||||||
// TODO: Add test cases.
|
|
||||||
{
|
{
|
||||||
name: "test timeout",
|
name: "test timeout",
|
||||||
args: args{typeConfig: ConfigRequestTimeout, values: 0.01},
|
args: args{typeConfig: ConfigRequestTimeout, values: 0.01},
|
||||||
|
|
|
@ -170,7 +170,6 @@ func (wf *Workflow) SetBodyParams(params ...interface{}) *Workflow {
|
||||||
}
|
}
|
||||||
|
|
||||||
if defaultContentType == TypeFormData {
|
if defaultContentType == TypeFormData {
|
||||||
// TODO: form-data
|
|
||||||
createMultipart(wf.Body, params)
|
createMultipart(wf.Body, params)
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user