aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmldom/domdata/reformatter/file1Reformatted2.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmldom/domdata/reformatter/file1Reformatted2.qml')
-rw-r--r--tests/auto/qmldom/domdata/reformatter/file1Reformatted2.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qmldom/domdata/reformatter/file1Reformatted2.qml b/tests/auto/qmldom/domdata/reformatter/file1Reformatted2.qml
index 18c719020c..2e7483f453 100644
--- a/tests/auto/qmldom/domdata/reformatter/file1Reformatted2.qml
+++ b/tests/auto/qmldom/domdata/reformatter/file1Reformatted2.qml
@@ -14,6 +14,8 @@ Window {
Rectangle {
anchors.fill: parent
+ Behavior on opacity {}
+
ListView {
width: parent.width
model: {
@@ -32,7 +34,7 @@ Window {
function f(v = 4) {
let c = 0;
return {
- "a": function () {
+ a: function () {
if (b == 0)
c += 78 * 5 * v;
}()