Skip to content

Add missing allergies tests#405

Draft
BNAndras wants to merge 1 commit into
exercism:mainfrom
BNAndras:update-allergies
Draft

Add missing allergies tests#405
BNAndras wants to merge 1 commit into
exercism:mainfrom
BNAndras:update-allergies

Conversation

@BNAndras

Copy link
Copy Markdown
Member

Inspired by https://forum.exercism.org/t/bug-expexted-and-actual-switched-allergies/52803, I flipped the expected and actual value order for the asserts. Then I remembered Assert.False`Assert.True` are available so I simplified the assertions. Then I realized not all tests were in fact present so I added those. The existing tests used multiple assertions per test so I simplified that so it's one assertion per test

@BNAndras BNAndras added x:action/sync Sync content with its latest version x:rep/tiny Tiny amount of reputation labels Jul 23, 2026
@github-actions

Copy link
Copy Markdown

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:action/sync Sync content with its latest version x:rep/tiny Tiny amount of reputation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant