-
Notifications
You must be signed in to change notification settings - Fork 6
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
opEquals() is not honoured with 0.14 alpha 8 #98
Comments
It's interesting that you have all of these edge cases... I guess you have some complex tests. Those asserts are fixed now on 0.14.0.alpha9 Please let me know how it works for you. |
Thanks for your quick response. I still have to test the new release in the "big" project, but for now, it seems I still have some edge cases up my sleeve https://gitlab.com/Skruppy/csg-fitter/-/jobs/1601647959 , sorry 😄. Some of the assertion fails are from my project not fully ported to the newest dmd release, but some unfortunately are probably still fluent assers problems. |
I'm super sorry, but I found an other edge case. With alpha.9, the upper examples works, but by changing the variables to arrays it will fail again: assert([a1] == [b1]); // works
assert([a1] != [a2]); // works
[a1].should.equal([b1]); // [a1] should equal [Thing(132599446648072)]
[a1].should.not.equal([a2]); // works |
No worries! Unfortunately, I don't have much time for developing this library, so thanks for finding those use cases. Comparing object using opEqual is enabled just for the |
with Version 0.14.0.alpha8
opEquals()
is not honoured anymore when asserting equality. It worked prior version 0.14. See the following MWE:The text was updated successfully, but these errors were encountered: