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
9e172c707e6596cfd3854bdccceeee2bf4ce86ba
Author
kotaiadam ·
Committer
Martin Hořeňovský
Parents
b0214ff86250

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);
     }
 }
 ```