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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal/catch_commandline.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-12-21 18:42:40 +0100
committerMartin Hořeňovský2023-12-23 11:23:32 +0100
commit9aadc3a53d7208f8b44260dfef26b18671f7edd0 (patch)
tree60dc93f65e65f70cf505268ac057b06da0b68b58 /src/catch2/internal/catch_commandline.cpp
parent64ade68ca2b20a1d4f850a92882ba7e9a31543d9 (diff)
downloadcatch3-9aadc3a53d7208f8b44260dfef26b18671f7edd0.tar.gz
Cleanup includes in sources
Mainly just removes some unused includes, but sometimes the include is replaced by a smaller header instead.
Diffstat (limited to 'src/catch2/internal/catch_commandline.cpp')
-rw-r--r--src/catch2/internal/catch_commandline.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp
index 4ac1847b..c29a801d 100644
--- a/src/catch2/internal/catch_commandline.cpp
+++ b/src/catch2/internal/catch_commandline.cpp
@@ -9,6 +9,7 @@
#include <catch2/catch_config.hpp>
#include <catch2/internal/catch_string_manip.hpp>
+#include <catch2/interfaces/catch_interfaces_config.hpp>
#include <catch2/interfaces/catch_interfaces_registry_hub.hpp>
#include <catch2/internal/catch_reporter_registry.hpp>
#include <catch2/internal/catch_console_colour.hpp>
@@ -300,8 +301,8 @@ namespace Catch {
( "split the tests to execute into this many groups" )
| Opt( setShardIndex, "shard index" )
["--shard-index"]
- ( "index of the group of tests to execute (see --shard-count)" ) |
- Opt( config.allowZeroTests )
+ ( "index of the group of tests to execute (see --shard-count)" )
+ | Opt( config.allowZeroTests )
["--allow-running-no-tests"]
( "Treat 'No tests run' as a success" )
| Arg( config.testsOrTags, "test name|pattern|tags" )