(t *testing.T)
| 517 | } |
| 518 | |
| 519 | func TestSetCommonFormData(t *testing.T) { |
| 520 | form := make(url.Values) |
| 521 | resp, err := tc(). |
| 522 | SetCommonFormData( |
| 523 | map[string]string{ |
| 524 | "test": "test", |
| 525 | }).R(). |
| 526 | SetSuccessResult(&form). |
| 527 | Post("/form") |
| 528 | assertSuccess(t, resp, err) |
| 529 | tests.AssertEqual(t, "test", form.Get("test")) |
| 530 | } |
| 531 | |
| 532 | func TestSetMultipartBoundaryFunc(t *testing.T) { |
| 533 | delimiter := "test-delimiter" |
nothing calls this directly
no test coverage detected
searching dependent graphs…