diff options
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qml/reformatter/objectliteral.js | 2 | ||||
-rw-r--r-- | tests/auto/qml/reformatter/qmlsingleton.qml | 3 | ||||
-rw-r--r-- | tests/auto/qml/reformatter/qmlsyntax.qml | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/qml/reformatter/objectliteral.js b/tests/auto/qml/reformatter/objectliteral.js index 37f68633746..d260712166d 100644 --- a/tests/auto/qml/reformatter/objectliteral.js +++ b/tests/auto/qml/reformatter/objectliteral.js @@ -10,3 +10,5 @@ var x = { }, "z": 12 } + +var empty_object = {} diff --git a/tests/auto/qml/reformatter/qmlsingleton.qml b/tests/auto/qml/reformatter/qmlsingleton.qml index d64f554097c..05a08e7de40 100644 --- a/tests/auto/qml/reformatter/qmlsingleton.qml +++ b/tests/auto/qml/reformatter/qmlsingleton.qml @@ -2,5 +2,4 @@ pragma Singleton import QtQuick 2.0 -Item { -} +Item {} diff --git a/tests/auto/qml/reformatter/qmlsyntax.qml b/tests/auto/qml/reformatter/qmlsyntax.qml index ded863106a7..8717aba35d5 100644 --- a/tests/auto/qml/reformatter/qmlsyntax.qml +++ b/tests/auto/qml/reformatter/qmlsyntax.qml @@ -45,4 +45,6 @@ Text { function foo(a, b) { x = a + 12 * b } + + value: Rectangle {} } |