aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/defaultPropertyWithWrongType.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/defaultPropertyWithWrongType.qml')
-rw-r--r--tests/auto/qml/qmllint/data/defaultPropertyWithWrongType.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qmllint/data/defaultPropertyWithWrongType.qml b/tests/auto/qml/qmllint/data/defaultPropertyWithWrongType.qml
index b846e24790..d04fecda49 100644
--- a/tests/auto/qml/qmllint/data/defaultPropertyWithWrongType.qml
+++ b/tests/auto/qml/qmllint/data/defaultPropertyWithWrongType.qml
@@ -1,6 +1,6 @@
import QtQml 2.0
-QtObject {
- default property string child
+TypeWithDefaultStringProperty {
+ // default property has type `string`, so cannot assing an object to it
QtObject {}
}