diff options
Diffstat (limited to 'tests/auto/qml/qmllint/tst_qmllint.cpp')
-rw-r--r-- | tests/auto/qml/qmllint/tst_qmllint.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp index c1ccae7235..994bb2cea0 100644 --- a/tests/auto/qml/qmllint/tst_qmllint.cpp +++ b/tests/auto/qml/qmllint/tst_qmllint.cpp @@ -273,6 +273,10 @@ void TestQmllint::dirtyQmlCode_data() << QStringLiteral("badScript.qml") << QString("Warning: Property \"stuff\" not found on type \"Empty\"") << QString(); + QTest::newRow("brokenNamespace") + << QStringLiteral("brokenNamespace.qml") + << QString("Warning: type not found in namespace at %1:4:17") + << QString(); } void TestQmllint::dirtyQmlCode() |