MCPcopy Create free account
hub / github.com/imroc/req / TestSetCommonHeaderNonCanonical

Function TestSetCommonHeaderNonCanonical

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

Source from the content-addressed store, hash-verified

192}
193
194func TestSetCommonHeaderNonCanonical(t *testing.T) {
195 c := tc().SetCommonHeaderNonCanonical("my-Header", "my-value")
196 tests.AssertEqual(t, "my-value", c.Headers["my-Header"][0])
197}
198
199func TestSetCommonHeaders(t *testing.T) {
200 c := tc().SetCommonHeaders(map[string]string{

Callers

nothing calls this directly

Calls 3

AssertEqualFunction · 0.92
tcFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…