diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-06 12:52:42 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-10-07 10:42:36 +0200 |
commit | e7e04656696d144e57c9bec1b6ca7d30d237ee70 (patch) | |
tree | 6187a6f8f0701ba39179b668817d7111d679afd5 /tests/auto/qml | |
parent | d2c9ecc727688d2519489e4b08013bfde8b0ae1e (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')
-rw-r--r-- | tests/auto/qml/qmllint/tst_qmllint.cpp | 2 |
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))); } |