Skip to content

Commit ed101ee

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 5ddf638 commit ed101ee

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

server/src/test/java/org/elasticsearch/cluster/metadata/IndexNameExpressionResolverTests.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
import static org.hamcrest.Matchers.emptyArray;
7979
import static org.hamcrest.Matchers.endsWith;
8080
import static org.hamcrest.Matchers.equalTo;
81-
import static org.hamcrest.Matchers.hasLength;
8281
import static org.hamcrest.Matchers.hasSize;
8382
import static org.hamcrest.Matchers.is;
8483
import static org.hamcrest.Matchers.notNullValue;
@@ -3494,7 +3493,12 @@ public void testGetRemoteIndexExpressions() {
34943493
assertThat(remoteIndexExpressions, empty());
34953494
}
34963495
{
3497-
List<String> remoteIndexExpressions = IndexNameExpressionResolver.getRemoteIndexExpressions("index-1", "remote:index-1", "idx-*", "remote-2:idx-5");
3496+
List<String> remoteIndexExpressions = IndexNameExpressionResolver.getRemoteIndexExpressions(
3497+
"index-1",
3498+
"remote:index-1",
3499+
"idx-*",
3500+
"remote-2:idx-5"
3501+
);
34983502
assertThat(remoteIndexExpressions, hasSize(2));
34993503
assertThat(remoteIndexExpressions, contains("remote:index-1", "remote-2:idx-5"));
35003504
}

0 commit comments

Comments
 (0)