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/110-Fix-ClassFixture.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/110-Fix-ClassFixture.cpp')
| -rw-r--r-- | examples/110-Fix-ClassFixture.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/110-Fix-ClassFixture.cpp b/examples/110-Fix-ClassFixture.cpp index 38617a3b..20601ac6 100644 --- a/examples/110-Fix-ClassFixture.cpp +++ b/examples/110-Fix-ClassFixture.cpp @@ -4,7 +4,7 @@ // - Sections // - Traditional class-based fixtures (this file) -// main() provided in 000-CatchMain.cpp +// main() provided by linkage to Catch2WithMain #include <catch2/catch_test_macros.hpp> @@ -52,8 +52,8 @@ TEST_CASE_METHOD( UniqueTestsFixture, "Create Employee/Normal", "[create]" ) { } // Compile & run: -// - g++ -std=c++11 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 110-Fix-ClassFixture 110-Fix-ClassFixture.cpp 000-CatchMain.o && 110-Fix-ClassFixture --success -// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% 110-Fix-ClassFixture.cpp 000-CatchMain.obj && 110-Fix-ClassFixture --success +// - g++ -std=c++11 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 110-Fix-ClassFixture 110-Fix-ClassFixture.cpp && 110-Fix-ClassFixture --success +// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% 110-Fix-ClassFixture.cpp && 110-Fix-ClassFixture --success // Expected compact output (all assertions): // |