catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Changed documentation to use standard main function signature
- Commit
cfaf906417ad575f075e83926d7726d2963a7104- Author
- Martin Hořeňovský ·
- Parents
ee0ca512eade
Changes
docs/own-main.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/own-main.md b/docs/own-main.md index 0b91fe3b..4330c8b4 100644 --- a/docs/own-main.md +++ b/docs/own-main.md @@ -16,7 +16,7 @@ If you just need to have code that executes before and/ or after Catch this is t #define CATCH_CONFIG_RUNNER #include "catch.hpp" -int main( int argc, char* const argv[] ) +int main( int argc, char* argv[] ) { // global setup... @@ -36,7 +36,7 @@ If you still want Catch to process the command line, but you want to programatic #define CATCH_CONFIG_RUNNER #include "catch.hpp" -int main( int argc, char* const argv[] ) +int main( int argc, char* argv[] ) { Catch::Session session; // There must be exactly one instance