mirror of https://github.com/prometheus/prometheus
Fix TestPostingsForMatcher
Signed-off-by: Marco Pracucci <marco@pracucci.com>pull/13461/head
parent
f639d7794c
commit
a1a45990a2
|
@ -3304,7 +3304,7 @@ func TestPostingsForMatcher(t *testing.T) {
|
||||||
{
|
{
|
||||||
// Test case for double quoted regex matcher
|
// Test case for double quoted regex matcher
|
||||||
matcher: labels.MustNewMatcher(labels.MatchRegexp, "test", "^(?:a|b)$"),
|
matcher: labels.MustNewMatcher(labels.MatchRegexp, "test", "^(?:a|b)$"),
|
||||||
hasError: true,
|
hasError: false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue