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.
This commit is contained in:
parent
a56f6015e9
commit
024edbbd3c
@ -156,7 +156,7 @@ private Q_SLOTS:
|
|||||||
target.update();
|
target.update();
|
||||||
const char *remark = target.userID(0).remark(seckey, err);
|
const char *remark = target.userID(0).remark(seckey, err);
|
||||||
QVERIFY(!err);
|
QVERIFY(!err);
|
||||||
Q_ASSERT(remark);
|
QVERIFY(remark);
|
||||||
QCOMPARE(QString::fromUtf8(remark), QStringLiteral("The quick brown fox "
|
QCOMPARE(QString::fromUtf8(remark), QStringLiteral("The quick brown fox "
|
||||||
"jumps over the lazy dog"));
|
"jumps over the lazy dog"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user