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

Function TestCurryVec

prometheus/vec_test.go:449–458  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

447}
448
449func TestCurryVec(t *testing.T) {
450 vec := NewCounterVec(
451 CounterOpts{
452 Name: "test",
453 Help: "helpless",
454 },
455 []string{"one", "two", "three"},
456 )
457 testCurryVec(t, vec)
458}
459
460func TestCurryVecWithCollisions(t *testing.T) {
461 vec := NewCounterVec(

Callers

nothing calls this directly

Calls 2

testCurryVecFunction · 0.85
NewCounterVecFunction · 0.70

Tested by

no test coverage detected