Skip to content

Commit bb7c0fc

Browse files
Samat Gaynutdinovladisgin
authored andcommitted
show correct regression/error suites number
1 parent 6921aa9 commit bb7c0fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/src/printers/TestsPrinter.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ std::uint32_t TestsPrinter::printSuiteAndReturnMethodsCount(const string &suiteN
7171
}
7272
ss << "#pragma region " << suiteName << NL;
7373
std::uint32_t count = 0;
74-
for (const auto &[methodName, methodStub] : methods) {
75-
if (methodStub.codeText.at(suiteName).empty()) {
74+
for (const auto &[methodName, methodDescription] : methods) {
75+
if (methodDescription.codeText.at(suiteName).empty()) {
7676
continue;
7777
}
78-
++count;
79-
ss << methodStub.codeText.at(suiteName);
78+
count += methodDescription.suiteTestCases.at(suiteName).size();
79+
ss << methodDescription.codeText.at(suiteName);
8080
}
8181
ss << "#pragma endregion" << NL;
8282
return count;

0 commit comments

Comments
 (0)