Skip to content

Commit 6628933

Browse files
committed
format code
Signed-off-by: zane-neo <zaniu@amazon.com>
1 parent 2e2623b commit 6628933

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ml-algorithms/src/test/java/org/opensearch/ml/engine/algorithms/text_embedding/TextEmbeddingDenseModelTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,10 +606,7 @@ public void test_async_inference() {
606606
ArgumentCaptor<IllegalStateException> captor = ArgumentCaptor.forClass(IllegalStateException.class);
607607
ActionListener actionListener = mock(ActionListener.class);
608608
textEmbeddingDenseModel
609-
.asyncPredict(
610-
MLInput.builder().algorithm(FunctionName.TEXT_EMBEDDING).inputDataset(inputDataSet).build(),
611-
actionListener
612-
);
609+
.asyncPredict(MLInput.builder().algorithm(FunctionName.TEXT_EMBEDDING).inputDataset(inputDataSet).build(), actionListener);
613610
verify(actionListener).onFailure(captor.capture());
614611
assert captor.getValue().getMessage().equals("Method is not implemented");
615612
}

0 commit comments

Comments
 (0)