summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp')
-rw-r--r--tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp b/tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp
index c0029f59bd..a2c84cfa50 100644
--- a/tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp
+++ b/tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp
@@ -181,9 +181,7 @@ private slots:
{
if(bodyLength == -1)
{
- Q_ASSERT_X(false, Q_FUNC_INFO,
- "No length was specified in the header.");
- return;
+ qFatal("No length was specified in the header.");
}
QDomDocument domDoc;