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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-04-06 15:17:17 +0200
committerMartin Hořeňovský2022-04-06 21:41:45 +0200
commit3c06bcb374aaebf91ad1d63aba655dee66cf7b91 (patch)
tree931a3e709c1d7681887fcc6bfc4a452755806e68 /src/catch2/internal
parenta51fd07bd006101c90662317c98de0ebe9e97312 (diff)
downloadcatch3-3c06bcb374aaebf91ad1d63aba655dee66cf7b91.tar.gz
Fix reporter parser spec to use the right key for colour-mode
Diffstat (limited to 'src/catch2/internal')
-rw-r--r--src/catch2/internal/catch_reporter_spec_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/internal/catch_reporter_spec_parser.cpp b/src/catch2/internal/catch_reporter_spec_parser.cpp
index a4f7105e..378a6f5a 100644
--- a/src/catch2/internal/catch_reporter_spec_parser.cpp
+++ b/src/catch2/internal/catch_reporter_spec_parser.cpp
@@ -139,7 +139,7 @@ namespace Catch {
return {};
}
outputFileName = static_cast<std::string>( value );
- } else if ( key == "colour" ) {
+ } else if ( key == "colour-mode" ) {
// Duplicated key
if ( colourMode ) {
return {};