Skip to content

Commit

Permalink
print malformed json
Browse files Browse the repository at this point in the history
Signed-off-by: HenryL27 <[email protected]>
  • Loading branch information
HenryL27 committed Dec 7, 2023
1 parent 3274429 commit c6d8141
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public void testNoConversations_EmptyList() throws IOException {
assert (TestHelper.restStatus(response) == RestStatus.OK);
HttpEntity httpEntity = response.getEntity();
String entityString = TestHelper.httpEntityToString(httpEntity);
System.out.println("THIS SHOULD BE WELL FORMED!");
System.out.println(entityString);
Map map = gson.fromJson(entityString, Map.class);
assert (map.containsKey("conversations"));
assert (!map.containsKey("next_token"));
Expand Down

0 comments on commit c6d8141

Please sign in to comment.