mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fixes a test now that we support more setMatches.
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
This commit is contained in:
parent
2d879c65fc
commit
ce28912439
|
@ -2042,7 +2042,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 a new issue