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

Function TestSetScheme

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

Source from the content-addressed store, hash-verified

270}
271
272func TestSetScheme(t *testing.T) {
273 c := tc().SetScheme("https")
274 tests.AssertEqual(t, "https", c.scheme)
275}
276
277func TestDebugLog(t *testing.T) {
278 c := tc().EnableDebugLog()

Callers

nothing calls this directly

Calls 3

AssertEqualFunction · 0.92
tcFunction · 0.85
SetSchemeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…