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

Don't include string/ vector matchers if CATCH_CONFIG_MATCHERS defined

Commit
8582780f1156e33ee819fdd43eb61d379869adf0
Author
Phil Nash ·
Parents
a36395e2ff9b

Files · Download .tar.gz

Changes

 include/catch.hpp                         | 2 --
 include/internal/catch_capture_matchers.h | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/catch.hpp b/include/catch.hpp
index b58a2354..f04ab7a5 100644
--- a/include/catch.hpp
+++ b/include/catch.hpp
@@ -36,8 +36,6 @@
 #include "internal/catch_benchmark.h"
 #include "internal/catch_interfaces_exception.h"
 #include "internal/catch_approx.hpp"
-#include "internal/catch_matchers_string.h"
-#include "internal/catch_matchers_vector.h"
 #include "internal/catch_compiler_capabilities.h"
 #include "internal/catch_interfaces_tag_alias_registry.h"
 
diff --git a/include/internal/catch_capture_matchers.h b/include/internal/catch_capture_matchers.h
index f815c14e..80262dbf 100644
--- a/include/internal/catch_capture_matchers.h
+++ b/include/internal/catch_capture_matchers.h
@@ -11,6 +11,7 @@
 #include "catch_capture.hpp"
 #include "catch_matchers.hpp"
 #include "catch_matchers_string.h"
+#include "catch_matchers_vector.h"
 
 namespace Catch {