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

summaryrefslogtreecommitdiffhomepage
path: root/examples/020-TestCase-2.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-03-29 16:41:58 +0200
committerMartin Hořeňovský2020-03-29 21:32:13 +0200
commit151dccbd3161715be284ddd68be6f20dbae29f1d (patch)
tree0b28ba63b9bbbef1daef143b7f5c611af5d0e161 /examples/020-TestCase-2.cpp
parent4d63c3640222f1dd45e629a526cbd775509c0667 (diff)
downloadcatch3-151dccbd3161715be284ddd68be6f20dbae29f1d.tar.gz
Remove catch.hpp
This was an old "include all" header, that we no longer want to be usable, to make the include differences in new versions explicit. We will introduce new "include all" headers later, in the form of `catch_all.hpp`, `catch_matchers_all.hpp` and so on...
Diffstat (limited to 'examples/020-TestCase-2.cpp')
-rw-r--r--examples/020-TestCase-2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/020-TestCase-2.cpp b/examples/020-TestCase-2.cpp
index 43c0aee0..3f5767b3 100644
--- a/examples/020-TestCase-2.cpp
+++ b/examples/020-TestCase-2.cpp
@@ -2,7 +2,7 @@
// main() provided by Catch in file 020-TestCase-1.cpp.
-#include <catch2/catch.hpp>
+#include <catch2/catch_test_macros.hpp>
static int Factorial( int number ) {
return number <= 1 ? number : Factorial( number - 1 ) * number; // fail