Skip to content

Improve error message on unexpected calls count - #1298

Merged
Raibaz merged 1 commit into
mockk:masterfrom
MGaetan89:update_calls_bounds_msg
Sep 18, 2024
Merged

Raibaz merged 1 commit into
mockk:masterfrom
MGaetan89:update_calls_bounds_msg

Conversation

@MGaetan89

Copy link
Copy Markdown
Contributor

This PR adds support for the case where min and max calls counts are the same. Instead of saying at least <x> and at most <x> calls, it now displays exactly <x> calls.

This PR adds support for the case where `min` and `max` calls count are the same.
Instead of saying `at least x and at most x calls`, it now displays `exactly x calls`.
@Raibaz
Raibaz merged commit ba215b8 into mockk:master Sep 18, 2024
@MGaetan89
MGaetan89 deleted the update_calls_bounds_msg branch September 18, 2024 08:55
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.

2 participants