Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

cpp higlighting for test-cases-and-sections.md

add c++ highlighting for the last two examples, all others already have highlighting
Commit
23f023f9ed29e424958bdfccd4ef53f72a453d70
Author
NeroBurner ·
Committer
Martin Hořeňovský
Parents
c1720d0c42d1

Files · Download .tar.gz

Changes

 docs/test-cases-and-sections.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/test-cases-and-sections.md b/docs/test-cases-and-sections.md
index abd55cd0..62a805f4 100644
--- a/docs/test-cases-and-sections.md
+++ b/docs/test-cases-and-sections.md
@@ -165,7 +165,7 @@ or the _template-args_.
 
 
 Example:
-```
+```cpp
 template< typename T>
 struct Foo {
     size_t size() {
@@ -180,7 +180,7 @@ TEMPLATE_PRODUCT_TEST_CASE("A Template product test case", "[template][product]"
 ```
 
 You can also have different arities in the _template-arg_ packs:
-```
+```cpp
 TEMPLATE_PRODUCT_TEST_CASE("Product with differing arities", "[template][product]", std::tuple, (int, (int, double), (int, double, float))) {
     TestType x;
     REQUIRE(std::tuple_size<TestType>::value >= 1);