Skip to content

Add a test for argument assertion using maps - #1

Closed
mrnovalles wants to merge 2 commits into
masterfrom
assert-called-w-map
Closed

mrnovalles wants to merge 2 commits into
masterfrom
assert-called-w-map

Conversation

@mrnovalles

Copy link
Copy Markdown
Owner

While using the called function with Map arguments I noticed that the matching was not exact, but that a map with different amount of key/values was still being mapped.

This PR adds a test to make sure that this is no longer the case and that assertion of a called function where an argument is a map is always against the same exact map.

The meck counterpart PR is: eproxus/meck#244
Tests will not be green until this PR is merged and a meck version bump is made.

@mrnovalles mrnovalles closed this Feb 5, 2024
@mrnovalles
mrnovalles deleted the assert-called-w-map branch February 6, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant