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 f5ef58940b..c1ccae7235 100644 --- a/tests/auto/qml/qmllint/tst_qmllint.cpp +++ b/tests/auto/qml/qmllint/tst_qmllint.cpp @@ -269,6 +269,10 @@ void TestQmllint::dirtyQmlCode_data() << QStringLiteral("badAliasObject.qml") << QString("Warning: Property \"wrongwrongwrong\" not found on type \"QtObject\"") << QString(); + QTest::newRow("badScript") + << QStringLiteral("badScript.qml") + << QString("Warning: Property \"stuff\" not found on type \"Empty\"") + << QString(); } void TestQmllint::dirtyQmlCode() |