Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/IntrospectiveTests
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-04-06 21:56:29 +0200
committerMartin Hořeňovský2022-04-07 12:50:13 +0200
commitd5bfce4d84f5dda55e1b77d2002a2726732130c6 (patch)
tree559b58fb3ec9b096af5e6f97f22ecc9f1588c49a /tests/SelfTest/IntrospectiveTests
parentc43947eb473d19dc183cd55ed0a4f7b06155342e (diff)
downloadcatch3-d5bfce4d84f5dda55e1b77d2002a2726732130c6.tar.gz
Rename config::colourMode to config::defaultConfigMode
This describes the actual intention much better.
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests')
-rw-r--r--tests/SelfTest/IntrospectiveTests/CmdLine.tests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/SelfTest/IntrospectiveTests/CmdLine.tests.cpp b/tests/SelfTest/IntrospectiveTests/CmdLine.tests.cpp
index 7599adbe..30cc3a0d 100644
--- a/tests/SelfTest/IntrospectiveTests/CmdLine.tests.cpp
+++ b/tests/SelfTest/IntrospectiveTests/CmdLine.tests.cpp
@@ -566,25 +566,25 @@ TEST_CASE( "Process can be configured on command line", "[config][command-line]"
SECTION( "without option" ) {
CHECK(cli.parse({"test"}));
- REQUIRE( config.colourMode == ColourMode::PlatformDefault );
+ REQUIRE( config.defaultColourMode == ColourMode::PlatformDefault );
}
SECTION( "auto" ) {
CHECK( cli.parse( { "test", "--colour-mode", "default" } ) );
- REQUIRE( config.colourMode == ColourMode::PlatformDefault );
+ REQUIRE( config.defaultColourMode == ColourMode::PlatformDefault );
}
SECTION( "yes" ) {
CHECK(cli.parse({"test", "--colour-mode", "ansi"}));
- REQUIRE( config.colourMode == ColourMode::ANSI );
+ REQUIRE( config.defaultColourMode == ColourMode::ANSI );
}
SECTION( "no" ) {
CHECK(cli.parse({"test", "--colour-mode", "none"}));
- REQUIRE( config.colourMode == ColourMode::None );
+ REQUIRE( config.defaultColourMode == ColourMode::None );
}
SECTION( "error" ) {