diff options
| author | Martin Hořeňovský | 2022-01-27 11:21:43 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-01-27 20:15:05 +0100 |
| commit | dc86d51af2a7e37bf19bb5b9cfc510ebc47d7573 (patch) | |
| tree | 3c23389217fc1a21098ee2d7ac65846bc5738f14 /src | |
| parent | 5121660e7ff38e171ac01ded949502a5dba7570f (diff) | |
| download | catch3-dc86d51af2a7e37bf19bb5b9cfc510ebc47d7573.tar.gz | |
Update version string to mention Catch2
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/catch_session.cpp | 4 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_console.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp index 54b119b0..912cd850 100644 --- a/src/catch2/catch_session.cpp +++ b/src/catch2/catch_session.cpp @@ -173,7 +173,7 @@ namespace Catch { void Session::showHelp() const { Catch::cout() - << "\nCatch v" << libraryVersion() << '\n' + << "\nCatch2 v" << libraryVersion() << '\n' << m_cli << '\n' << "For more detailed usage please see the project docs\n\n" << std::flush; } @@ -181,7 +181,7 @@ namespace Catch { Catch::cout() << std::left << std::setw(16) << "description: " << "A Catch2 test executable\n" << std::left << std::setw(16) << "category: " << "testframework\n" - << std::left << std::setw(16) << "framework: " << "Catch Test\n" + << std::left << std::setw(16) << "framework: " << "Catch2\n" << std::left << std::setw(16) << "version: " << libraryVersion() << '\n' << std::flush; } diff --git a/src/catch2/reporters/catch_reporter_console.cpp b/src/catch2/reporters/catch_reporter_console.cpp index 0d3a5202..d5dd89c5 100644 --- a/src/catch2/reporters/catch_reporter_console.cpp +++ b/src/catch2/reporters/catch_reporter_console.cpp @@ -517,7 +517,7 @@ void ConsoleReporter::lazyPrintRunInfo() { m_stream << '\n' << lineOfChars('~') << '\n'; Colour colour(Colour::SecondaryText); m_stream << currentTestRunInfo.name - << " is a Catch v" << libraryVersion() << " host application.\n" + << " is a Catch2 v" << libraryVersion() << " host application.\n" << "Run with -? for options\n\n"; m_stream << "Randomness seeded to: " << m_config->rngSeed() << "\n\n"; |