aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2020-10-01 11:32:41 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2020-10-05 15:14:53 +0200
commitecd018b4833863e9f7b8cecc616f681c361957b3 (patch)
tree07cccaba3e439755c6965639ff20283e466cad2a /tests/auto/qml/qmlformat
parent47c5a3e43e054292de468d4306b039143b3df636 (diff)
qmlformat: Fix inline components
Fixes: QTBUG-86979 Pick-to: 5.15 Change-Id: Ie8863bc2ecf75a9dd8e4af5e96e48c30e7acbacd Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlformat')
-rw-r--r--tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml b/tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml
index 5349280f2b..fd5ab99197 100644
--- a/tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml
+++ b/tests/auto/qml/qmlformat/data/inlineComponents.formatted.qml
@@ -1,10 +1,7 @@
Item {
component CustomText: Text {
- Text {
- color: "red"
- text: "Test Text"
- }
-
+ color: "red"
+ text: "Test Text"
}
}