aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/arrayEndComma.formatted.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/arrayEndComma.formatted.qml')
-rw-r--r--tests/auto/qml/qmlformat/data/arrayEndComma.formatted.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/arrayEndComma.formatted.qml b/tests/auto/qml/qmlformat/data/arrayEndComma.formatted.qml
new file mode 100644
index 0000000000..8ae4dd7c88
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/arrayEndComma.formatted.qml
@@ -0,0 +1,4 @@
+Item {
+ // should keep its comma
+ property var some_array_literal: [30, 20, 0.3,]
+}