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

summaryrefslogtreecommitdiffhomepage
path: root/examples/010-TestCase.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-12-08 15:55:04 +0100
committerMartin Hořeňovský2019-12-08 15:55:04 +0100
commit70ef2f7f12c2c62714a2e926679172142ea150ff (patch)
tree8e4e09bcaded8a521285ce65258923c79eae9c7f /examples/010-TestCase.cpp
parent248f922465309caa549c126f795f909e8cd69a1e (diff)
downloadcatch3-70ef2f7f12c2c62714a2e926679172142ea150ff.tar.gz
Update building of examples for static lib
Diffstat (limited to 'examples/010-TestCase.cpp')
-rw-r--r--examples/010-TestCase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/010-TestCase.cpp b/examples/010-TestCase.cpp
index c00b8a8f..f8af548a 100644
--- a/examples/010-TestCase.cpp
+++ b/examples/010-TestCase.cpp
@@ -1,8 +1,9 @@
// 010-TestCase.cpp
// Let Catch provide main():
-#define CATCH_CONFIG_MAIN
+#include <catch2/catch_default_main.hpp>
+// And write tests in the same file:
#include <catch2/catch.hpp>
int Factorial( int number ) {