Add clang-format (#1086)

Co-authored-by: mwilsnd <mwilsnd@gmail.com>
This commit is contained in:
Bart Louwers
2023-05-01 16:57:37 +02:00
committed by GitHub
parent 403a12bd1b
commit 71f6da2722
1018 changed files with 27876 additions and 25862 deletions

View File

@@ -6,7 +6,8 @@
class TestData;
struct TestRunOutput {
TestRunOutput(std::string id_) : id(std::move(id_)) {}
TestRunOutput(std::string id_)
: id(std::move(id_)) {}
std::string id;
bool passed = false;
std::string text;
@@ -17,8 +18,7 @@ struct TestRunOutput {
class TestStats {
public:
std::size_t testCount() const {
return passed.size() + failed.size() + errored.size() +
ignorePassed.size() + ignoreFailed.size();
return passed.size() + failed.size() + errored.size() + ignorePassed.size() + ignoreFailed.size();
}
std::vector<TestRunOutput> passed;