aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgalaxycrab <UgnineSirdis@ydb.tech>2023-11-28 22:23:02 +0300
committergalaxycrab <UgnineSirdis@ydb.tech>2023-11-28 22:42:22 +0300
commit45aece9b48cd4beecd216085668c0861b95853ea (patch)
tree1aeb24c45e7e5ec14516c21557958baaf3ee6053
parent015cdd2714f6366d62b99e67b3081f6f0cff4ceb (diff)
downloadydb-45aece9b48cd4beecd216085668c0861b95853ea.tar.gz
KIKIMR-19979 Fix empty attribute in xml report
-rw-r--r--library/cpp/testing/unittest/junit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/cpp/testing/unittest/junit.cpp b/library/cpp/testing/unittest/junit.cpp
index e4408d9597..64ac9de1cf 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);