Skip to content

Clarify unused stub error message#126

Merged
kaste merged 1 commit intomasterfrom
fix-125
Apr 15, 2026
Merged

Clarify unused stub error message#126
kaste merged 1 commit intomasterfrom
fix-125

Conversation

@kaste
Copy link
Copy Markdown
Owner

@kaste kaste commented Apr 15, 2026

Fixes #125

Improve check_used messaging when a stub has been partially consumed. If a stub was never used, keep the existing "Unused stub" message. If some configured answers remain, report that not all answers were used and include an unused/used count summary.

Fixes #125

Improve `check_used` messaging when a stub has been partially consumed.
If a stub was never used, keep the existing "Unused stub" message.
If some configured answers remain, report that not all answers were used
and include an unused/used count summary.
@kaste kaste merged commit 600d244 into master Apr 15, 2026
50 checks passed
@kaste kaste deleted the fix-125 branch April 15, 2026 09:19
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.

expect's count checking error message is inconsistent when multiple thenReturn clauses are provided.

1 participant