Fixes a test now that we support more setMatches.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
This commit is contained in:
Cyril Tovena 2021-10-07 14:04:52 +02:00
parent 2d879c65fc
commit ce28912439
No known key found for this signature in database
GPG key ID: FD8F768F9D633FB6

View file

@ -2042,7 +2042,7 @@ func TestPostingsForMatcher(t *testing.T) {
{
// Test case for double quoted regex matcher
matcher: labels.MustNewMatcher(labels.MatchRegexp, "test", "^(?:a|b)$"),
hasError: true,
hasError: false,
},
}