mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-25 20:43:28 +01:00
fixes bug in example - undeclared identifier
j was not declared in `SECTION("two")`
This commit is contained in:
parent
b0214ff862
commit
9e172c707e
@ -51,7 +51,7 @@ TEST_CASE("Generators") {
|
||||
}
|
||||
SECTION("two") {
|
||||
auto k = GENERATE(4, 5, 6);
|
||||
REQUIRE(j != k);
|
||||
REQUIRE(i != k);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user