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 Nov 29, 2023
1 parent fd06031 commit 87707ff
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 87707ff

Please sign in to comment.