From 709f30f1a83c9c65b82f689fc67cd23fc2ba9696 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 28 Sep 2020 12:40:33 +0200 Subject: qmllint: Consistently spell "Warning" There was one place where it was written in lower case. Change-Id: Id953fa6c260502ab5bca8cfa061c817bb5a70581 Reviewed-by: Fabian Kosmale --- tests/auto/qml/qmllint/tst_qmllint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto') diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp index f8e031689b..1a36986663 100644 --- a/tests/auto/qml/qmllint/tst_qmllint.cpp +++ b/tests/auto/qml/qmllint/tst_qmllint.cpp @@ -117,7 +117,7 @@ void TestQmllint::testUnknownCausesFail() { const QString unknownNotFound = runQmllint("unknownElement.qml", false); QVERIFY(unknownNotFound.contains( - QStringLiteral("warning: Unknown was not found. Did you add all import paths?"))); + QStringLiteral("Warning: Unknown was not found. Did you add all import paths?"))); } void TestQmllint::directoryPassedAsQmlTypesFile() @@ -185,7 +185,7 @@ void TestQmllint::dirtyQmlCode_data() << QString(); QTest::newRow("badQmldirImportAndDepend") << QStringLiteral("qmldirImportAndDepend/bad.qml") - << QString("warning: Item was not found. Did you add all import paths?") + << QString("Warning: Item was not found. Did you add all import paths?") << QString(); QTest::newRow("javascriptMethodsInModule") << QStringLiteral("javascriptMethodsInModuleBad.qml") -- cgit v1.2.3