Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo committed Mar 13, 2024
1 parent 2e2623b commit 6628933
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -606,10 +606,7 @@ public void test_async_inference() {
ArgumentCaptor<IllegalStateException> captor = ArgumentCaptor.forClass(IllegalStateException.class);
ActionListener actionListener = mock(ActionListener.class);
textEmbeddingDenseModel
.asyncPredict(
MLInput.builder().algorithm(FunctionName.TEXT_EMBEDDING).inputDataset(inputDataSet).build(),
actionListener
);
.asyncPredict(MLInput.builder().algorithm(FunctionName.TEXT_EMBEDDING).inputDataset(inputDataSet).build(), actionListener);
verify(actionListener).onFailure(captor.capture());
assert captor.getValue().getMessage().equals("Method is not implemented");
}
Expand Down

0 comments on commit 6628933

Please sign in to comment.