diff options
| author | Martin Hořeňovský | 2021-12-18 19:59:23 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-12-18 20:50:03 +0100 |
| commit | 840acedf62b2dabb98bf4ab372a7582131d6b530 (patch) | |
| tree | 2246182676b827884962a1a62ed216a14de0d992 /src/catch2/catch_config.cpp | |
| parent | 9f2dca5384a6a8f9f37a7dc2d998cac616545592 (diff) | |
| download | catch3-840acedf62b2dabb98bf4ab372a7582131d6b530.tar.gz | |
Implement warning for unmatched test specs
Diffstat (limited to 'src/catch2/catch_config.cpp')
| -rw-r--r-- | src/catch2/catch_config.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/catch2/catch_config.cpp b/src/catch2/catch_config.cpp index 33951dbd..da9457da 100644 --- a/src/catch2/catch_config.cpp +++ b/src/catch2/catch_config.cpp @@ -70,6 +70,9 @@ namespace Catch { bool Config::warnAboutMissingAssertions() const { return !!( m_data.warnings & WarnAbout::NoAssertions ); } + bool Config::warnAboutUnmatchedTestSpecs() const { + return !!( m_data.warnings & WarnAbout::UnmatchedTestSpec ); + } bool Config::zeroTestsCountAsSuccess() const { return m_data.allowZeroTests; } ShowDurations Config::showDurations() const { return m_data.showDurations; } double Config::minDuration() const { return m_data.minDuration; } |