diff options
Diffstat (limited to 'tests/auto/qml/qmlformat/data/Example1.formatted.qml')
-rw-r--r-- | tests/auto/qml/qmlformat/data/Example1.formatted.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qml/qmlformat/data/Example1.formatted.qml b/tests/auto/qml/qmlformat/data/Example1.formatted.qml index cb8865d94e..c4aef78924 100644 --- a/tests/auto/qml/qmlformat/data/Example1.formatted.qml +++ b/tests/auto/qml/qmlformat/data/Example1.formatted.qml @@ -43,7 +43,7 @@ Item { property bool some_bool: false // This comment is related to the property animation - PropertyAnimation on x { + PropertyAnimation on x { id: foo2 x: 3 y: x + 3 @@ -54,6 +54,7 @@ Item { // Another orphan // More orphans + property variant some_array_literal: [30, 20, Math["PI"], [4, 3, 2], "foo", 0.3] property bool something_computed: function (x) { const PI = 3, DAYS_PER_YEAR = 365.25; @@ -124,6 +125,7 @@ Item { } // Another orphan inside something_computed + return "foobar"; }() @@ -133,11 +135,9 @@ Item { // This is an orphan // This is a cool text - Text { - }, + Text {}, // This is a cool rectangle - Rectangle { - } + Rectangle {} ] // some_read_only_bool |