MCPcopy Index your code
hub / github.com/imroc/req / TestSetCommonPathParam

Function TestSetCommonPathParam

client_test.go:307–311  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

305}
306
307func TestSetCommonPathParam(t *testing.T) {
308 c := tc().SetCommonPathParam("test", "test")
309 tests.AssertNotNil(t, c.PathParams)
310 tests.AssertEqual(t, "test", c.PathParams["test"])
311}
312
313func TestAddCommonQueryParam(t *testing.T) {
314 resp, err := tc().

Callers

nothing calls this directly

Calls 4

AssertNotNilFunction · 0.92
AssertEqualFunction · 0.92
tcFunction · 0.85
SetCommonPathParamMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…