Skip to content

Commit f63295b

Browse files
authored
Remove CONSTANT_KEYWORD from LiteralTests.java (#53606)
1 parent 0f0091e commit f63295b

File tree

1 file changed

+1
-2
lines changed
  • x-pack/plugin/ql/src/test/java/org/elasticsearch/xpack/ql/expression

1 file changed

+1
-2
lines changed

x-pack/plugin/ql/src/test/java/org/elasticsearch/xpack/ql/expression/LiteralTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import java.util.function.Supplier;
2121

2222
import static java.util.Collections.emptyList;
23-
import static org.elasticsearch.xpack.ql.type.DataTypes.CONSTANT_KEYWORD;
2423
import static org.elasticsearch.xpack.ql.type.DataTypes.BOOLEAN;
2524
import static org.elasticsearch.xpack.ql.type.DataTypes.BYTE;
2625
import static org.elasticsearch.xpack.ql.type.DataTypes.DOUBLE;
@@ -54,7 +53,7 @@ static class ValueAndCompatibleTypes {
5453
new ValueAndCompatibleTypes(ESTestCase::randomLong, LONG, FLOAT, DOUBLE, BOOLEAN),
5554
new ValueAndCompatibleTypes(ESTestCase::randomFloat, FLOAT, LONG, DOUBLE, BOOLEAN),
5655
new ValueAndCompatibleTypes(ESTestCase::randomDouble, DOUBLE, LONG, FLOAT, BOOLEAN),
57-
new ValueAndCompatibleTypes(() -> randomAlphaOfLength(5), KEYWORD, CONSTANT_KEYWORD));
56+
new ValueAndCompatibleTypes(() -> randomAlphaOfLength(5), KEYWORD));
5857

5958
public static Literal randomLiteral() {
6059
ValueAndCompatibleTypes gen = randomFrom(GENERATORS);

0 commit comments

Comments
 (0)