diff options
Diffstat (limited to 'tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp')
-rw-r--r-- | tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp b/tests/auto/qxmlinputsource/tst_qxmlinputsource.cpp index c0029f5..a2c84cf 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; |