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

remove the FAST_ versions of the binary asserts (not a breaking change!) #167

Closed
onqtam opened this issue Dec 1, 2018 · 0 comments
Closed

Comments

@onqtam
Copy link
Member

onqtam commented Dec 1, 2018

From now on there will only be binary asserts and no fast binary asserts. This is done to remove complexity from the framework and its usage. The binary asserts can be made just as fast as the previously available fast ones with the help of the DOCTEST_CONFIG_SUPER_FAST_ASSERTS option - again turning them into a single function call.

There will be forwarding macros (from the fast versions to the only binary ones) for backwards compatibility. Users shouldn't actually care much about this change - the only addition to the "fast" macros is that now there is an additional try/catch block around the evaluation of expressions.

@onqtam onqtam changed the title remove the FAST_ versions of the binary asserts remove the FAST_ versions of the binary asserts (not a breaking change!) Dec 1, 2018
@onqtam onqtam closed this as completed in c494843 Dec 5, 2018
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

1 participant