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

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorkotaiadam2020-09-11 14:05:10 +0200
committerMartin Hořeňovský2020-10-08 11:34:25 +0200
commit9e172c707e6596cfd3854bdccceeee2bf4ce86ba (patch)
tree8a0c67437d0490d47de77925e7b2965b17f9958f /docs
parentb0214ff862508ca77ce76b9028aaf8422d7083b9 (diff)
downloadcatch3-9e172c707e6596cfd3854bdccceeee2bf4ce86ba.tar.gz
fixes bug in example - undeclared identifier
j was not declared in `SECTION("two")`
Diffstat (limited to 'docs')
-rw-r--r--docs/generators.md2
1 files changed, 1 insertions, 1 deletions
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);
}
}
```