test: Don't generate a value of 0, because FuzzyQuery constructor does't allow that
This commit is contained in:
parent
050145f61b
commit
e2691d7e5c
|
@ -89,7 +89,7 @@ public class MatchQueryBuilderTests extends AbstractQueryTestCase<MatchQueryBuil
|
|||
}
|
||||
|
||||
if (randomBoolean()) {
|
||||
matchQuery.maxExpansions(randomIntBetween(0, 1000));
|
||||
matchQuery.maxExpansions(randomIntBetween(1, 1000));
|
||||
}
|
||||
|
||||
if (randomBoolean()) {
|
||||
|
|
Loading…
Reference in New Issue