aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2020-07-08 11:21:17 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2020-07-08 12:23:34 +0200
commit48ae309fcf86189b06064798467e6feddc0f58b3 (patch)
tree014212b7643be4a836e350f249e1b73293ac50fe /tests
parent3df055f35887f57522a31aee77b32200f3605062 (diff)
qmlformat: Allow for minor and major versions to be omitted
Change-Id: I85897930980bb98ba9f968cdf70696547493b1d5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmlformat/data/largeBindings.formatted.qml3
-rw-r--r--tests/auto/qml/qmlformat/data/largeBindings.qml3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/largeBindings.formatted.qml b/tests/auto/qml/qmlformat/data/largeBindings.formatted.qml
index 8bd502ccab..354693d229 100644
--- a/tests/auto/qml/qmlformat/data/largeBindings.formatted.qml
+++ b/tests/auto/qml/qmlformat/data/largeBindings.formatted.qml
@@ -1,3 +1,6 @@
+import QtQml
+import QtQuick 2
+
QtObject {
small1: 3
small2: foo
diff --git a/tests/auto/qml/qmlformat/data/largeBindings.qml b/tests/auto/qml/qmlformat/data/largeBindings.qml
index 9f69e9ad50..0fb0fff158 100644
--- a/tests/auto/qml/qmlformat/data/largeBindings.qml
+++ b/tests/auto/qml/qmlformat/data/largeBindings.qml
@@ -1,3 +1,6 @@
+import QtQml
+import QtQuick 2
+
QtObject
{
// THIS NEEDS TO BE LAST