(t *testing.T)
| 93 | } |
| 94 | |
| 95 | func TestSummaryVecWithQuantileLabel(t *testing.T) { |
| 96 | defer func() { |
| 97 | if r := recover(); r == nil { |
| 98 | t.Error("Attempt to create SummaryVec with 'quantile' label did not panic.") |
| 99 | } |
| 100 | }() |
| 101 | _ = NewSummaryVec(SummaryOpts{ |
| 102 | Name: "test_summary", |
| 103 | Help: "less", |
| 104 | }, []string{"quantile"}) |
| 105 | } |
| 106 | |
| 107 | func benchmarkSummaryObserve(w int, b *testing.B) { |
| 108 | b.StopTimer() |
nothing calls this directly
no test coverage detected