mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-31 20:27:11 +01:00
Green summary bar is darker if not all passed
- and the green part now comes at the end (to emphasise the failures)
This commit is contained in:
@@ -32,6 +32,9 @@ namespace Catch {
|
||||
std::size_t total() const {
|
||||
return passed + failed + failedButOk;
|
||||
}
|
||||
bool allPassed() const {
|
||||
return failed == 0 && failedButOk == 0;
|
||||
}
|
||||
|
||||
std::size_t passed;
|
||||
std::size_t failed;
|
||||
|
||||
Reference in New Issue
Block a user