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 Aug 6, 2024
1 parent fb2859f commit 14c46a3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 14c46a3

Please sign in to comment.