summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-04-16 03:54:48 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-04-19 07:31:22 (GMT)
commita2ff5af2427ada75d12bfae9d5044f54347c0a02 (patch)
tree77c14f9a93692a3a3077841d69efd5094ba5ddf7 /src/testlib
parente1a8f3afc834ff3a148ca330ba5338f60e64e276 (diff)
downloadQt-a2ff5af2427ada75d12bfae9d5044f54347c0a02.zip
Qt-a2ff5af2427ada75d12bfae9d5044f54347c0a02.tar.gz
Qt-a2ff5af2427ada75d12bfae9d5044f54347c0a02.tar.bz2
Fixed failure of tst_selftests::runSubTest(subtest xml)
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qtestxmlstreamer.cpp2
1 files changed, 1 insertions, 1 deletions
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, "<Incident type=\"%s\" %s/>\n",
+ QTest::qt_asprintf(formatted, "<Incident type=\"%s\" %s />\n",
element->attributeValue(QTest::AI_Result), buf.constData());
} else {
formatted->data()[0] = '\0';