(t *testing.T)
| 80 | } |
| 81 | |
| 82 | func TestSummaryWithQuantileLabel(t *testing.T) { |
| 83 | defer func() { |
| 84 | if r := recover(); r == nil { |
| 85 | t.Error("Attempt to create Summary with 'quantile' label did not panic.") |
| 86 | } |
| 87 | }() |
| 88 | _ = NewSummary(SummaryOpts{ |
| 89 | Name: "test_summary", |
| 90 | Help: "less", |
| 91 | ConstLabels: Labels{"quantile": "test"}, |
| 92 | }) |
| 93 | } |
| 94 | |
| 95 | func TestSummaryVecWithQuantileLabel(t *testing.T) { |
| 96 | defer func() { |
nothing calls this directly
no test coverage detected