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

AssertNotEqualsArrays generates failure message on successful assertion #17

Open
mikepotjer opened this issue Jan 2, 2019 · 2 comments

Comments

@mikepotjer
Copy link
Contributor

This issue can be reproduced by running the FoxUnitTests.PRG unit test "testAssertNotEqualsArrays". As shown in the screenshot below, the assertion correctly returns true, and the test passes, but an Assertion Failure message is generated. The failure message can be confusing to someone who isn't aware of the bug, especially if the developer included a custom message in the assert.

image

@eselje
Copy link
Collaborator

eselje commented Jan 2, 2019 via email

@mikepotjer
Copy link
Contributor Author

After some further testing, it appears that AssertNotEqualsArrays does not work at all. If I pass it 2 identical arrays (or pass the SAME array to both parameters), the assertion succeeds and does not display any failure messages.

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