From a2ff5af2427ada75d12bfae9d5044f54347c0a02 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Fri, 16 Apr 2010 13:54:48 +1000 Subject: Fixed failure of tst_selftests::runSubTest(subtest xml) --- src/testlib/qtestxmlstreamer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testlib/qtestxmlstreamer.cpp b/src/testlib/qtestxmlstreamer.cpp index b9946e5..2ae8ad8 100644 --- a/src/testlib/qtestxmlstreamer.cpp +++ b/src/testlib/qtestxmlstreamer.cpp @@ -172,7 +172,7 @@ void QTestXmlStreamer::formatBeforeAttributes(const QTestElement *element, QTest element->attributeValue(QTest::AI_Line)); if( !element->childElements() ) { - QTest::qt_asprintf(formatted, "\n", + QTest::qt_asprintf(formatted, "\n", element->attributeValue(QTest::AI_Result), buf.constData()); } else { formatted->data()[0] = '\0'; -- cgit v0.12