Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/Compilation.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-01-20 23:24:04 +0100
committerMartin Hořeňovský2020-01-21 10:03:54 +0100
commit26f78f96aa6eed4be97281b5b740ab0cf0466c48 (patch)
tree1ed75a6974a364c78f51c426b0a0044217260952 /tests/SelfTest/UsageTests/Compilation.tests.cpp
parentc381b49c60e7c1d6b354b67ca168b2af58c42f13 (diff)
downloadcatch3-26f78f96aa6eed4be97281b5b740ab0cf0466c48.tar.gz
Start using piecemeal includes in test files
Diffstat (limited to 'tests/SelfTest/UsageTests/Compilation.tests.cpp')
-rw-r--r--tests/SelfTest/UsageTests/Compilation.tests.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/SelfTest/UsageTests/Compilation.tests.cpp b/tests/SelfTest/UsageTests/Compilation.tests.cpp
index 4df3ea5a..4134ec54 100644
--- a/tests/SelfTest/UsageTests/Compilation.tests.cpp
+++ b/tests/SelfTest/UsageTests/Compilation.tests.cpp
@@ -1,6 +1,4 @@
/*
- * Created by Martin on 17/02/2017.
- *
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
@@ -30,7 +28,8 @@ std::ostream& operator<<(std::ostream& out, foo::helper_1403 const&) {
}
///////////////////////////////
-#include <catch2/catch.hpp>
+#include <catch2/catch_test_macros.hpp>
+#include <catch2/catch_matchers_string.h>
#include <cstring>
@@ -218,7 +217,7 @@ namespace { namespace CompilationTests {
REQUIRE( y.v == 0 );
REQUIRE( 0 == y.v );
}
-
+
TEST_CASE("#1319: Sections can have description (even if it is not saved", "[compilation]") {
SECTION("SectionName", "This is a long form section description") {
SUCCEED();