Skip to content

Commit

Permalink
Add missing type combinations for the operator to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Nov 20, 2024
1 parent 68907ff commit cdf896c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ public MatchOperatorTests(@Name("TestCase") Supplier<TestCaseSupplier.TestCase>

@ParametersFactory
public static Iterable<Object[]> parameters() {
// Have a minimal test so that we can generate the docs
// Have a minimal test so that we can generate the appropriate types in the docs
List<TestCaseSupplier> suppliers = new LinkedList<>();
addPositiveTestCase(List.of(DataType.KEYWORD, DataType.KEYWORD), suppliers);
addPositiveTestCase(List.of(DataType.TEXT, DataType.TEXT), suppliers);
addPositiveTestCase(List.of(DataType.KEYWORD, DataType.TEXT), suppliers);
addPositiveTestCase(List.of(DataType.TEXT, DataType.KEYWORD), suppliers);
return parameterSuppliersFromTypedData(suppliers);
}
}

0 comments on commit cdf896c

Please sign in to comment.