Skip to content

Commit 79b1c4a

Browse files
committed
Lowercase test name
1 parent 048693e commit 79b1c4a

File tree

1 file changed

+2
-1
lines changed
  • x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/predicate/operator/comparison

1 file changed

+2
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/predicate/operator/comparison/InTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import java.util.ArrayList;
2727
import java.util.Arrays;
2828
import java.util.List;
29+
import java.util.Locale;
2930
import java.util.function.Supplier;
3031
import java.util.stream.IntStream;
3132

@@ -163,7 +164,7 @@ private static void bytesRefs(List<TestCaseSupplier> suppliers, int items) {
163164
for (DataType type1 : DataType.stringTypes()) {
164165
for (DataType type2 : DataType.stringTypes()) {
165166
String name = type1 == type2 ? type1.toString() : type1 + " " + type2;
166-
suppliers.add(new TestCaseSupplier(name, makeTypes(type1, type2, items), () -> {
167+
suppliers.add(new TestCaseSupplier(name.toLowerCase(Locale.ROOT), makeTypes(type1, type2, items), () -> {
167168
List<Object> inlist = randomList(items, items, () -> randomLiteral(type1).value());
168169
Object field = randomLiteral(type2).value();
169170
List<TestCaseSupplier.TypedData> args = new ArrayList<>(inlist.size() + 1);

0 commit comments

Comments
 (0)