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

fixes bug in example - undeclared identifier

j was not declared in `SECTION("two")`
Commit
2fc83e7e9c6f6014de465d9eee75d68dbcff8106
Author
kotaiadam ·
Committer
Martin Hořeňovský
Parents
a2e5ce241839

Files · Download .tar.gz

Changes

 docs/generators.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/generators.md b/docs/generators.md
index 96e322e6..2285abf1 100644
--- a/docs/generators.md
+++ b/docs/generators.md
@@ -51,7 +51,7 @@ TEST_CASE("Generators") {
     }
     SECTION("two") {
         auto k = GENERATE(4, 5, 6);
-        REQUIRE(j != k);
+        REQUIRE(i != k);
     }
 }
 ```