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

Make Assert failNotEquals public #1751

Open
Martin-Office opened this issue Oct 6, 2022 · 1 comment
Open

Make Assert failNotEquals public #1751

Martin-Office opened this issue Oct 6, 2022 · 1 comment

Comments

@Martin-Office
Copy link

I had to implement a custom equal function but I cannot report the failure with the existing functionality of Assert class.
I wanted to reuse the function Assert.failNotEquals but it's private, not sure why.
Can you make it public?

@marcphilipp
Copy link
Member

FWIW JUnit Jupiter provides AssertionFailureBuilder for this use case.

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