mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Add missing syntax highlighting tag
This commit is contained in:
parent
1d01464730
commit
b841650253
@ -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