mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 09:13:29 +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") {
|
SECTION("two") {
|
||||||
auto k = GENERATE(4, 5, 6);
|
auto k = GENERATE(4, 5, 6);
|
||||||
REQUIRE(j != k);
|
REQUIRE(i != k);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user