From 14c46a381fc86706f5e1c6edd22d2ff524d44956 Mon Sep 17 00:00:00 2001 From: zane-neo Date: Tue, 6 Aug 2024 15:43:21 +0800 Subject: [PATCH] format code Signed-off-by: zane-neo --- .../java/org/opensearch/ml/rest/MLCommonsRestTestCase.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin/src/test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java b/plugin/src/test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java index 009ab7af64..fbe4c998bf 100644 --- a/plugin/src/test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java +++ b/plugin/src/test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java @@ -862,7 +862,11 @@ public static Map parseResponseToMap(Response response) throws IOException { HttpEntity entity = response.getEntity(); assertNotNull(response); String entityString = TestHelper.httpEntityToString(entity); - assertEquals(String.format("response status is not success, raw response is: %s", entityString), 200, response.getStatusLine().getStatusCode()); + assertEquals( + String.format("response status is not success, raw response is: %s", entityString), + 200, + response.getStatusLine().getStatusCode() + ); return StringUtils.gson.fromJson(entityString, Map.class); }