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

Fix typo in docs/matchers.md

There were a few instances in matchers.md where header files erroneously
had a .h file extension instead of .hpp
Commit
7040f03b549c4f21d38c842cc2dbb839e3e6ec2a
Author
Geoffrey M Gunter ·
Committer
Martin Hořeňovský
Parents
1554251f97c2

Files · Download .tar.gz

Changes

 docs/matchers.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/matchers.md b/docs/matchers.md
index 7721bf81..6fdb15bf 100644
--- a/docs/matchers.md
+++ b/docs/matchers.md
@@ -58,7 +58,7 @@ to a use-after-free (UAF):
 
 ```cpp
 #include <catch2/catch_test_macros.hpp>
-#include <catch2/matchers/catch_matchers_string.h>
+#include <catch2/matchers/catch_matchers_string.hpp>
 
 TEST_CASE("Bugs, bugs, bugs", "[Bug]"){
     std::string str = "Bugs as a service";
@@ -299,7 +299,7 @@ within certain range. We will call it `IsBetweenMatcher<T>`:
 
 ```c++
 #include <catch2/catch_test_macros.hpp>
-#include <catch2/matchers/catch_matchers.h>
+#include <catch2/matchers/catch_matchers.hpp>
 // ...