Skip to content

Commit

Permalink
enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
fslev committed Oct 4, 2022
1 parent ee98352 commit 2955c92
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ public void checkMultipleJsonPathDifferences() {
"u11 ->.*Expected value: 20209 But got: 20000.*"));
JSONCompare.assertNotMatches(expected, actual);

String expected1 = "{\"#($.a.length())\":2,\"b\":\"val2\",\"x\":{\"x1\":{\"y11\":{\"#($.a)\":\"lorem2\"}}}}";
String actual1 = "{\"x\":{\"x2\":290.11,\"x1\":{\"x11\":null,\"y11\":{\"a\":\"lorem2\"}}},\"b\":\"val2\",\"a\":[4,5]}";
String expected1 = "{\"#($.a.length())\":2,\"b\":\"val2\",\"x\":{\"x1\":{\"y11\":{\"#($.a)\":\"lorem2\"}}}," +
"\"u\":{\"#($.u1)\":{\"u11\":20000}}}";
String actual1 = "{\"x\":{\"x2\":290.11,\"x1\":{\"x11\":null,\"y11\":{\"a\":\"lorem2\"}}},\"b\":\"val2\",\"a\":[4,5]," +
"\"u\":{\"u1\":{\"u11\":20000}}}";
JSONCompare.assertMatches(expected1, actual1);
}

Expand Down

0 comments on commit 2955c92

Please sign in to comment.