aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/nestedIf.formatted.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/nestedIf.formatted.qml')
-rw-r--r--tests/auto/qml/qmlformat/data/nestedIf.formatted.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/qml/qmlformat/data/nestedIf.formatted.qml b/tests/auto/qml/qmlformat/data/nestedIf.formatted.qml
index 11acf5b568..4ff5a40a23 100644
--- a/tests/auto/qml/qmlformat/data/nestedIf.formatted.qml
+++ b/tests/auto/qml/qmlformat/data/nestedIf.formatted.qml
@@ -6,11 +6,11 @@ Item {
foo();
else
bar();
- } else if (x == 3) {
+ } else if (x == 3)
stuff();
- } else {
+ else
foo_bar();
- }
+
// Same for "for"
if (a) {
for (x in y) {
@@ -18,6 +18,7 @@ Item {
y();
}
}
+
// ...and while
if (b) {
while (y in x) {