Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorJozef Grajciar2021-05-10 21:42:47 +0200
committerGitHub2021-05-10 21:42:47 +0200
commiteb911aa995d806a5989cc026df7e8b69c470c4c8 (patch)
tree44eb7fbc99a31af22c9aab72f66fd4c6b2da1f97 /docs
parent313071e8fee34bc96c98f0fa3c4065f39ed63236 (diff)
downloadcatch3-eb911aa995d806a5989cc026df7e8b69c470c4c8.tar.gz
Suppress failure of CHECKED_IF and CHECKED_ELSE (#2187)
Resolves #1390 Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/deprecations.md8
-rw-r--r--docs/other-macros.md2
2 files changed, 2 insertions, 8 deletions
diff --git a/docs/deprecations.md b/docs/deprecations.md
index 0649e447..e56b197a 100644
--- a/docs/deprecations.md
+++ b/docs/deprecations.md
@@ -19,14 +19,6 @@ command line interface instead of parsing C++ code with regular expressions.
## Planned changes
-### `CHECKED_IF` and `CHECKED_ELSE`
-
-To make the `CHECKED_IF` and `CHECKED_ELSE` macros more useful, they will
-be marked as "OK to fail" (`Catch::ResultDisposition::SuppressFail` flag
-will be added), which means that their failure will not fail the test,
-making the `else` actually useful.
-
-
### Console Colour API
The API for Catch2's console colour will be changed to take an extra
diff --git a/docs/other-macros.md b/docs/other-macros.md
index 50593fae..f23ee6c2 100644
--- a/docs/other-macros.md
+++ b/docs/other-macros.md
@@ -15,6 +15,8 @@ stringification machinery to the _expr_ and records the result. As with
evaluates to `true`. `CHECKED_ELSE( expr )` work similarly, but the block
is entered only if the _expr_ evaluated to `false`.
+> `CHECKED_X` macros were changed to not count as failure in Catch2 X.Y.Z.
+
Example:
```cpp
int a = ...;