MCPcopy
hub / github.com/prometheus/client_golang / TestConfig

Function TestConfig

api/client_test.go:28–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

26)
27
28func TestConfig(t *testing.T) {
29 c := Config{}
30 if c.roundTripper() != DefaultRoundTripper {
31 t.Fatalf("expected default roundtripper for nil RoundTripper field")
32 }
33}
34
35func TestClientURL(t *testing.T) {
36 tests := []struct {

Callers

nothing calls this directly

Calls 1

roundTripperMethod · 0.95

Tested by

no test coverage detected