mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 14:56:10 +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") {
|
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