Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Small documentation fixes

This includes 2 small typos I found when working on generator skipping,
and 1 typo found by @sfraczek in #3039.

Closes #3039
Commit
31ee3beb0a474463e0101674c22f2fef0311d601
Author
Martin Hořeňovský ·
Parents
3b853aa9fbe1

Files · Download .tar.gz

Changes

 docs/event-listeners.md          | 2 +-
 docs/generators.md               | 2 +-
 docs/skipping-passing-failing.md | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/event-listeners.md b/docs/event-listeners.md
index 71db3e18..377f447a 100644
--- a/docs/event-listeners.md
+++ b/docs/event-listeners.md
@@ -10,7 +10,7 @@ in-memory logs if they are not needed (the test case passed).
 Unlike reporters, each registered event listener is always active. Event
 listeners are always notified before reporter(s).
 
-To write your own event listener, you should derive from `Catch::TestEventListenerBase`,
+To write your own event listener, you should derive from `Catch::EventListenerBase`,
 as it provides empty stubs for all reporter events, allowing you to
 only override events you care for. Afterwards you have to register it
 with Catch2 using `CATCH_REGISTER_LISTENER` macro, so that Catch2 knows
diff --git a/docs/generators.md b/docs/generators.md
index 000b2009..27bedacc 100644
--- a/docs/generators.md
+++ b/docs/generators.md
@@ -275,7 +275,7 @@ There are two ways to handle this, depending on whether you want this
 to be an error or not.
 
  * If empty generator **is** an error, throw an exception in constructor.
- * If empty generator **is not** an error, use the [`SKIP`](skipping-passing-failing.md#skipping-test-cases-at-runtime) in constructor.
+ * If empty generator **is not** an error, use the [`SKIP` macro](skipping-passing-failing.md#skipping-test-cases-at-runtime) in constructor.
 
 
 
diff --git a/docs/skipping-passing-failing.md b/docs/skipping-passing-failing.md
index 1bdc1f03..2b363a33 100644
--- a/docs/skipping-passing-failing.md
+++ b/docs/skipping-passing-failing.md
@@ -87,7 +87,7 @@ TEST_CASE("complex test case") {
 ```
 
 This test case will report 5 passing assertions; one for each of the three
-values in section `a1`, and then two in section `a2`, from values 2 and 4.
+values in section `a1`, and then two in section `a2`, from values 2 and 6.
 
 Note that as soon as one section is skipped, the entire test case will
 be reported as _skipped_ (unless there is a failing assertion, in which