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

Function TestDebugLog

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

Source from the content-addressed store, hash-verified

275}
276
277func TestDebugLog(t *testing.T) {
278 c := tc().EnableDebugLog()
279 tests.AssertEqual(t, true, c.DebugLog)
280
281 c.DisableDebugLog()
282 tests.AssertEqual(t, false, c.DebugLog)
283}
284
285func TestSetCommonCookies(t *testing.T) {
286 headers := make(http.Header)

Callers

nothing calls this directly

Calls 4

AssertEqualFunction · 0.92
tcFunction · 0.85
EnableDebugLogMethod · 0.80
DisableDebugLogMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…