summaryrefslogtreecommitdiff
path: root/tests/auto/qml/qmlformat/data/dontRemoveComments.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/dontRemoveComments.qml')
-rw-r--r--tests/auto/qml/qmlformat/data/dontRemoveComments.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/dontRemoveComments.qml b/tests/auto/qml/qmlformat/data/dontRemoveComments.qml
new file mode 100644
index 0000000000..1797834879
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/dontRemoveComments.qml
@@ -0,0 +1,13 @@
+Item {
+ property var test: [{
+// Testing
+ "foo": "bar"
+ }]
+
+ onTestChanged: {
+ fooBar(test, {
+ // Testing
+ "foo": "bar"
+ });
+ }
+}