aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/tst_language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/language/tst_language.cpp')
-rw-r--r--src/lib/corelib/language/tst_language.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/corelib/language/tst_language.cpp b/src/lib/corelib/language/tst_language.cpp
index 65b0713ea..a72efb36e 100644
--- a/src/lib/corelib/language/tst_language.cpp
+++ b/src/lib/corelib/language/tst_language.cpp
@@ -566,6 +566,9 @@ void TestLanguage::erroneousFiles_data()
<< "Export item in inherited item redeclares property 'theProp' with different type.";
QTest::newRow("invalid-property-option")
<< "PropertyOptions item refers to non-existing property 's0meProp'";
+ QTest::newRow("wrong-toplevel-item")
+ << "wrong-toplevel-item.qbs:3:1.*The top-level item must be of type 'Project' or "
+ "'Product', but it is of type 'Artifact'.";
}
void TestLanguage::erroneousFiles()