diff options
| author | Martin Hořeňovský | 2020-01-20 23:24:04 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-01-21 10:03:54 +0100 |
| commit | 26f78f96aa6eed4be97281b5b740ab0cf0466c48 (patch) | |
| tree | 1ed75a6974a364c78f51c426b0a0044217260952 /tests/SelfTest/UsageTests/Compilation.tests.cpp | |
| parent | c381b49c60e7c1d6b354b67ca168b2af58c42f13 (diff) | |
| download | catch3-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.cpp | 7 |
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(); |