pkg/custom-provider: update expected test queries

This commit is contained in:
Andy Bursavich 2024-07-25 18:24:57 -07:00
parent 7d895374b0
commit 69ae2d1210
2 changed files with 3 additions and 9 deletions

View file

@ -364,12 +364,6 @@ func compactRegexp(values []string) (string, error) {
return "", ErrMalformedQuery
}
}
if len(values) == 0 {
return "", nil
}
if len(values) == 1 {
return values[0], nil
}
expr := strings.Join(values, "|")
re, err := syntax.Parse(expr, syntax.POSIX)
if err != nil {