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

If we catch the wrong exception in AssertThrows, print the description of the exception #48

Merged

Conversation

Cogitri
Copy link
Contributor

@Cogitri Cogitri commented Feb 26, 2020

This makes it easier to debug the failure

fixes #47

Copy link
Member

@sbeyer sbeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much, very cool! I request a few minor changes. You can btw ignore the failed Codacy check (it's just complaining that it cannot check this PR because it is not enabled for any branch other than master; so I don't know why it is complaining at all).

example/exceptions_tests.cpp Outdated Show resolved Hide resolved
example/exceptions_tests.cpp Outdated Show resolved Hide resolved
example/exceptions_tests.cpp Show resolved Hide resolved
include/snowhouse/exceptions.h Show resolved Hide resolved
include/snowhouse/exceptions.h Outdated Show resolved Hide resolved
include/snowhouse/exceptions.h Outdated Show resolved Hide resolved
include/snowhouse/exceptions.h Outdated Show resolved Hide resolved
@Cogitri Cogitri force-pushed the assert-throws-better-description branch from 9925f93 to 78f6b96 Compare February 26, 2020 12:03
@Cogitri
Copy link
Contributor Author

Cogitri commented Feb 26, 2020

Pushed a new version, sorry for the typos, seems like I was a bit sidetracked yesterday :)

Copy link
Member

@sbeyer sbeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks!

@sbeyer sbeyer merged commit aaf8480 into banditcpp:prepare-v5.0.0 Feb 26, 2020
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

Successfully merging this pull request may close these issues.

2 participants