From e7e04656696d144e57c9bec1b6ca7d30d237ee70 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 6 Oct 2020 12:52:42 +0200 Subject: qmllint: Capitalize importer warnings Refactor the "prefixed message" mechanism into ColorOutput. Change-Id: Ie982e641771f3367406f48a8bcfd2bd3da122b16 Reviewed-by: Fabian Kosmale --- tests/auto/qml/qmllint/tst_qmllint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/qml/qmllint/tst_qmllint.cpp') 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))); } -- cgit v1.2.3