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