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/120-Bdd-ScenarioGivenWhenThen.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/120-Bdd-ScenarioGivenWhenThen.cpp')
| -rw-r--r-- | examples/120-Bdd-ScenarioGivenWhenThen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/120-Bdd-ScenarioGivenWhenThen.cpp b/examples/120-Bdd-ScenarioGivenWhenThen.cpp index 97336a70..c2d443a4 100644 --- a/examples/120-Bdd-ScenarioGivenWhenThen.cpp +++ b/examples/120-Bdd-ScenarioGivenWhenThen.cpp @@ -1,6 +1,6 @@ // 120-Bdd-ScenarioGivenWhenThen.cpp -// main() provided in 000-CatchMain.cpp +// main() provided by linkage with Catch2WithMain #include <catch2/catch_test_macros.hpp> @@ -48,8 +48,8 @@ SCENARIO( "vectors can be sized and resized", "[vector]" ) { } // Compile & run: -// - g++ -std=c++11 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 120-Bdd-ScenarioGivenWhenThen 120-Bdd-ScenarioGivenWhenThen.cpp 000-CatchMain.o && 120-Bdd-ScenarioGivenWhenThen --success -// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% 120-Bdd-ScenarioGivenWhenThen.cpp 000-CatchMain.obj && 120-Bdd-ScenarioGivenWhenThen --success +// - g++ -std=c++11 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 120-Bdd-ScenarioGivenWhenThen 120-Bdd-ScenarioGivenWhenThen.cpp && 120-Bdd-ScenarioGivenWhenThen --success +// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% 120-Bdd-ScenarioGivenWhenThen.cpp && 120-Bdd-ScenarioGivenWhenThen --success // Expected compact output (all assertions): // |