diff options
| author | Martin Hořeňovský | 2023-01-22 00:35:32 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-01-22 00:35:32 +0100 |
| commit | adf43494e19077d492343ea13d597af5133b7288 (patch) | |
| tree | bcd5d94f803221c379a3085df6766ff330950f84 | |
| parent | efca9a0f1826885c1574ed44fc37c8d82ded4546 (diff) | |
| download | catch3-adf43494e19077d492343ea13d597af5133b7288.tar.gz | |
Add missing version information to matchers.md
| -rw-r--r-- | docs/matchers.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/matchers.md b/docs/matchers.md index c702fec0..eba76c84 100644 --- a/docs/matchers.md +++ b/docs/matchers.md @@ -226,14 +226,18 @@ definitions to handle generic range-like types. These are: * `Contains(T&& target_element, Comparator = std::equal_to<>{})` * `Contains(Matcher element_matcher)` * `AllMatch(Matcher element_matcher)` -* `NoneMatch(Matcher element_matcher)` * `AnyMatch(Matcher element_matcher)` -* `AllTrue()` -* `NoneTrue()` -* `AnyTrue()` +* `NoneMatch(Matcher element_matcher)` +* `AllTrue()`, `AnyTrue()`, `NoneTrue()` * `RangeEquals(TargetRangeLike&&, Comparator = std::equal_to<>{})` * `UnorderedRangeEquals(TargetRangeLike&&, Comparator = std::equal_to<>{})` +> `IsEmpty`, `SizeIs`, `Contains` were introduced in Catch2 3.0.1 + +> `All/Any/NoneMatch` were introduced in Catch2 3.0.1 + +> `All/Any/NoneTrue` were introduced in Catch2 3.1.0 + > `RangeEquals` and `UnorderedRangeEquals` matchers were [introduced](https://github.com/catchorg/Catch2/pull/2377) in Catch2 X.Y.Z `IsEmpty` should be self-explanatory. It successfully matches objects |