File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ target_link_libraries(catch_main PUBLIC Catch2::Catch2)
88target_link_libraries (catch_main PRIVATE project_options)
99
1010# Provide a simple smoke test to make sure that the CLI works and can display a --help message
11- add_test (NAME cli.has_help COMMAND intro --help)
11+ add_test (NAME cli.has_help COMMAND awesome_game --help)
1212
1313# Provide a test to verify that the version being reported from the application
1414# matches the version given to CMake. This will be important once you package
1515# your program. Real world shows that this is the kind of simple mistake that is easy
1616# to make, but also easy to test for.
17- add_test (NAME cli.version_matches COMMAND intro --version )
17+ add_test (NAME cli.version_matches COMMAND awesome_game --version )
1818set_tests_properties (cli.version_matches PROPERTIES PASS_REGULAR_EXPRESSION "${PROJECT_VERSION} " )
1919
2020
You can’t perform that action at this time.
0 commit comments