mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
fixes bug in example - undeclared identifier
j was not declared in `SECTION("two")`
This commit is contained in:
parent
a2e5ce2418
commit
2fc83e7e9c
@ -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