Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValidationExercisesSpec: should ignore ordering of errors #34

Open
wjlow opened this issue Mar 30, 2022 · 1 comment
Open

ValidationExercisesSpec: should ignore ordering of errors #34

wjlow opened this issue Mar 30, 2022 · 1 comment

Comments

@wjlow
Copy link
Collaborator

wjlow commented Mar 30, 2022

e.g.

passwordValidation("") must_=== Invalid(NonEmptyList.of(PasswordTooWeak, PasswordTooShort))

Perhaps use Set equality.

@ssanj
Copy link
Collaborator

ssanj commented Apr 21, 2022

This order should be deterministic right?

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

No branches or pull requests

2 participants