diff options
| author | galaxycrab <[email protected]> | 2023-11-28 22:23:02 +0300 | 
|---|---|---|
| committer | galaxycrab <[email protected]> | 2023-11-28 22:42:22 +0300 | 
| commit | 45aece9b48cd4beecd216085668c0861b95853ea (patch) | |
| tree | 1aeb24c45e7e5ec14516c21557958baaf3ee6053 /library/cpp/testing/unittest | |
| parent | 015cdd2714f6366d62b99e67b3081f6f0cff4ceb (diff) | |
KIKIMR-19979 Fix empty attribute in xml report
Diffstat (limited to 'library/cpp/testing/unittest')
| -rw-r--r-- | library/cpp/testing/unittest/junit.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/library/cpp/testing/unittest/junit.cpp b/library/cpp/testing/unittest/junit.cpp index e4408d95975..64ac9de1cfb 100644 --- a/library/cpp/testing/unittest/junit.cpp +++ b/library/cpp/testing/unittest/junit.cpp @@ -603,8 +603,7 @@ void TJUnitProcessor::SerializeToXml() {      TXmlWriter::TTag testSuites = report.Tag("testsuites"sv);      testSuites          .Attribute("tests"sv, GetTestsCount()) -        .Attribute("failures"sv, GetFailuresCount()) -        .Attribute(""sv, GetFailuresCount()); +        .Attribute("failures"sv, GetFailuresCount());      for (const auto& [suiteName, suite] : Suites) {          auto testSuite = testSuites.Tag("testsuite"sv); | 
