aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/tst_qmllint.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-08 12:40:09 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-08 14:34:16 +0200
commit93455f77c2cef4e7cbcb4ca96c82076e552cae1a (patch)
treea9e03184b026471bb0293c47678fd947cefa73f9 /tests/auto/qml/qmllint/tst_qmllint.cpp
parentd17b2ae269b0cee63c3b34e493a108a188d27087 (diff)
qmllint: Be more verbose when tests fail
Change-Id: I9394dd721eac3e0b76fbedb6b2fca6f45da48383 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/tst_qmllint.cpp')
-rw-r--r--tests/auto/qml/qmllint/tst_qmllint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp
index 0b78285c23..09ffd2c9ec 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -288,7 +288,7 @@ void TestQmllint::cleanQmlCode()
{
QFETCH(QString, filename);
const QString warnings = runQmllint(filename, true);
- QVERIFY(warnings.isEmpty());
+ QVERIFY2(warnings.isEmpty(), qPrintable(warnings));
}
QString TestQmllint::runQmllint(const QString &fileToLint,