diff options
| author | Martin Hořeňovský | 2019-12-08 15:55:04 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-12-08 15:55:04 +0100 |
| commit | 70ef2f7f12c2c62714a2e926679172142ea150ff (patch) | |
| tree | 8e4e09bcaded8a521285ce65258923c79eae9c7f /examples/010-TestCase.cpp | |
| parent | 248f922465309caa549c126f795f909e8cd69a1e (diff) | |
| download | catch3-70ef2f7f12c2c62714a2e926679172142ea150ff.tar.gz | |
Update building of examples for static lib
Diffstat (limited to 'examples/010-TestCase.cpp')
| -rw-r--r-- | examples/010-TestCase.cpp | 3 |
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 ) { |