Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.

More understandable Assertion Error Messages#78

Open
thiscode wants to merge 4 commits intodebitoor:masterfrom
thiscode:forpullrequest
Open

More understandable Assertion Error Messages#78
thiscode wants to merge 4 commits intodebitoor:masterfrom
thiscode:forpullrequest

Conversation

@thiscode
Copy link

Because I needed more detailed assertion error messages (what exactly differs) I have rewritten the compare function. It throws an error instead returning false. Now I can catch the message in every level and use it for the assertion error message. Maybe that's interesting for you too.

an exception with more specific message that will be used as assertion
exception message
Small Changes in Assertion Message
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants