Skip to content

Commit

Permalink
Revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jun 27, 2024
1 parent 07728f2 commit 46c5373
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ public static void assertEqualJson(String expected, JsonNode actual) {
assertEquals(
exp,
actualNode,
"Expected '%s' but actual was '%s'".formatted(
JsonSupport.prettyPrint(exp),
JsonSupport.prettyPrint(actualNode)
)
() ->
"Expected '%s' but actual was '%s'".formatted(
JsonSupport.prettyPrint(exp),
JsonSupport.prettyPrint(actualNode)
)
);
} catch (JsonProcessingException e) {
throw new RuntimeException(e);
Expand Down

0 comments on commit 46c5373

Please sign in to comment.