aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/tst_qmllint.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-06 12:52:42 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-07 10:42:36 +0200
commite7e04656696d144e57c9bec1b6ca7d30d237ee70 (patch)
tree6187a6f8f0701ba39179b668817d7111d679afd5 /tests/auto/qml/qmllint/tst_qmllint.cpp
parentd2c9ecc727688d2519489e4b08013bfde8b0ae1e (diff)
qmllint: Capitalize importer warnings
Refactor the "prefixed message" mechanism into ColorOutput. Change-Id: Ie982e641771f3367406f48a8bcfd2bd3da122b16 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 943092beca..75938161b5 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -128,7 +128,7 @@ void TestQmllint::directoryPassedAsQmlTypesFile()
{
const QStringList iArg = QStringList() << QStringLiteral("-i") << dataDirectory();
const QString errorMessages = runQmllint("unknownElement.qml", false, iArg);
- const QString expectedError = QStringLiteral("warning: QML types file cannot be a directory: ") + dataDirectory();
+ const QString expectedError = QStringLiteral("Warning: QML types file cannot be a directory: ") + dataDirectory();
QVERIFY2(errorMessages.contains(expectedError), qPrintable(QString::fromLatin1(
"Expected error to contain \"%1\", but it didn't: %2").arg(expectedError, errorMessages)));
}