Skip to content

Commit

Permalink
chore: add a test to verify issue PactDslJsonBody#eachKeyMappedToAnAr…
Browse files Browse the repository at this point in the history
…rayLike does not work on "nested" property #401
  • Loading branch information
rholshausen committed Jan 17, 2023
1 parent ef276f8 commit 765bd61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class MatchingSpec extends Specification {
def result = Matching.INSTANCE.matchBody(expected, actual, bodyContext).mismatches

then:
result.size() == 3
result.size() == 2
result[0].mismatch == 'Actual map is missing the following keys: system'
result[1].mismatch == 'Actual map is missing the following keys: id'
}
Expand Down

0 comments on commit 765bd61

Please sign in to comment.