diff options
| author | John Beard | 2022-02-18 22:36:47 +0000 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-02-20 13:10:42 +0100 |
| commit | 0c722564c34277b2afc2f76bd9f3176c509caf7a (patch) | |
| tree | a229e33b047a0719fd375275c1fdc1c6c39ef67c /examples/100-Fix-Section.cpp | |
| parent | 33ffc3b6fc1cdb2815a87476b06ff9afb2f2a6bd (diff) | |
| download | catch3-0c722564c34277b2afc2f76bd9f3176c509caf7a.tar.gz | |
Examples: remove references to catch_default_main
catch_default_main.hpp was removed in db32550898
The example 000-CatchMain.cpp is no longer compiled, but is still
present in the examples and is still references by other example
files. Remove the file and references to it, as they are confusing.
Diffstat (limited to 'examples/100-Fix-Section.cpp')
| -rw-r--r-- | examples/100-Fix-Section.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/100-Fix-Section.cpp b/examples/100-Fix-Section.cpp index 6ec5ee80..7c6d614c 100644 --- a/examples/100-Fix-Section.cpp +++ b/examples/100-Fix-Section.cpp @@ -4,7 +4,7 @@ // - Sections (this file) // - Traditional class-based fixtures -// main() provided in 000-CatchMain.cpp +// main() provided by linkage to Catch2WithMain #include <catch2/catch_test_macros.hpp> #include <vector> @@ -45,8 +45,8 @@ TEST_CASE( "vectors can be sized and resized", "[vector]" ) { } // Compile & run: -// - g++ -std=c++11 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 100-Fix-Section 100-Fix-Section.cpp 000-CatchMain.o && 100-Fix-Section --success -// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% 100-Fix-Section.cpp 000-CatchMain.obj && 100-Fix-Section --success +// - g++ -std=c++11 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 100-Fix-Section 100-Fix-Section.cpp && 100-Fix-Section --success +// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% 100-Fix-Section.cpp && 100-Fix-Section --success // Expected compact output (all assertions): // |