Skip to content

Commit bac4f9a

Browse files
committed
Fix an error in a copy/paste
1 parent ca6e972 commit bac4f9a

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/CsvTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@
127127
import static org.hamcrest.Matchers.everyItem;
128128
import static org.hamcrest.Matchers.greaterThan;
129129
import static org.hamcrest.Matchers.hasSize;
130-
import static org.hamcrest.Matchers.in;
131130
import static org.hamcrest.Matchers.is;
132131
import static org.hamcrest.Matchers.notNullValue;
133132

@@ -255,7 +254,7 @@ public final void test() throws Throwable {
255254
);
256255
assumeFalse(
257256
"can't use rereank in csv tests",
258-
testCase.requiredCapabilities.contains(EsqlCapabilities.Cap.ENRICH_LOAD.capabilityName())
257+
testCase.requiredCapabilities.contains(EsqlCapabilities.Cap.RERANK.capabilityName())
259258
);
260259
assumeFalse(
261260
"can't use match in csv tests",

0 commit comments

Comments
 (0)