Skip to content

Commit 67567c9

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 3cc8cb2 commit 67567c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/external/request/cohere/CohereEmbeddingsRequestEntityTests.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ public void testXContent_WritesNoOptionalFields_WhenTheyAreNotDefined() throws I
8484
}
8585

8686
public void testConvertToString_ThrowsAssertionFailure_WhenInputTypeIsUnspecified() {
87-
var thrownException = expectThrows(AssertionError.class, () -> CohereEmbeddingsRequestEntity.convertToString(InputType.UNSPECIFIED));
87+
var thrownException = expectThrows(
88+
AssertionError.class,
89+
() -> CohereEmbeddingsRequestEntity.convertToString(InputType.UNSPECIFIED)
90+
);
8891
MatcherAssert.assertThat(thrownException.getMessage(), is("received invalid input type value [unspecified]"));
8992
}
9093
}

0 commit comments

Comments
 (0)