mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 01:03:30 +01:00
Add missing syntax highlighting tag
This commit is contained in:
parent
3e8800beb1
commit
fba0feeba1
@ -42,7 +42,7 @@ that allows users to implement their own generators.
|
|||||||
effects. The simplest usage is shown below, where the `SECTION` "one"
|
effects. The simplest usage is shown below, where the `SECTION` "one"
|
||||||
runs 4 (2\*2) times, and `SECTION` "two" is run 6 times (2\*3).
|
runs 4 (2\*2) times, and `SECTION` "two" is run 6 times (2\*3).
|
||||||
|
|
||||||
```
|
```cpp
|
||||||
TEST_CASE("Generators") {
|
TEST_CASE("Generators") {
|
||||||
auto i = GENERATE(1, 2);
|
auto i = GENERATE(1, 2);
|
||||||
SECTION("one") {
|
SECTION("one") {
|
||||||
|
Loading…
Reference in New Issue
Block a user