Skip to content

fix: report actual value against expected collection in isIn/isNotIn failure messages#580

Open
SAY-5 wants to merge 1 commit into
assertk-org:mainfrom
SAY-5:fix-isin-failure-message
Open

fix: report actual value against expected collection in isIn/isNotIn failure messages#580
SAY-5 wants to merge 1 commit into
assertk-org:mainfrom
SAY-5:fix-isin-failure-message

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 13, 2026

isIn/isNotIn reported expected:<[1, 2, 3, 4]> to contain:<5>, which swaps the actual and expected sides; it now reads expected:<5> to be in:<[1, 2, 3, 4]>. CHANGELOG updated under [Unreleased].

Closes #569

@SAY-5 SAY-5 requested a review from evant as a code owner May 13, 2026 00: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.

isIn/isNotIn show incorrect text

1 participant