Skip to content

Commit 956d78a

Browse files
authored
Runtime fields: fix a test name (#62498)
This fixes the name of a test method so we actually run it. I broke it a few commits ago without realizing it.
1 parent 79039e1 commit 956d78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/runtime-fields/src/test/java/org/elasticsearch/xpack/runtimefields/mapper/BooleanScriptMappedFieldTypeTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public void testTermsQuery() throws IOException {
295295
}
296296
}
297297

298-
public void randomTermsQueryDegeneratesIntoMatchNone() throws IOException {
298+
public void testEmptyTermsQueryDegeneratesIntoMatchNone() throws IOException {
299299
assertThat(simpleMappedFieldType().termsQuery(List.of(), mockContext()), instanceOf(MatchNoDocsQuery.class));
300300
}
301301

0 commit comments

Comments
 (0)