From 024edbbd3c0059654e13c1c6acf78456450469ab Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 6 Nov 2019 09:12:09 +0100 Subject: [PATCH] qt, tests: Replace accidentally commited assert * lang/qt/test/t-remarks.cpp (testRemarkReplaceSingleUIDExportable): Use QVERIFY instead of assert. -- An assert causes the temp directory not to be cleaned up. I use this to analyze test failures. If you want to see the tests home directory after a failure you can just change a failing verify to an assert. --- lang/qt/tests/t-remarks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/qt/tests/t-remarks.cpp b/lang/qt/tests/t-remarks.cpp index 3a101903..f6227d15 100644 --- a/lang/qt/tests/t-remarks.cpp +++ b/lang/qt/tests/t-remarks.cpp @@ -156,7 +156,7 @@ private Q_SLOTS: target.update(); const char *remark = target.userID(0).remark(seckey, err); QVERIFY(!err); - Q_ASSERT(remark); + QVERIFY(remark); QCOMPARE(QString::fromUtf8(remark), QStringLiteral("The quick brown fox " "jumps over the lazy dog"));