aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/reformatter/jssyntax.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/reformatter/jssyntax.js b/tests/auto/qml/reformatter/jssyntax.js
index 9fd8b38a563..d651cd7822c 100644
--- a/tests/auto/qml/reformatter/jssyntax.js
+++ b/tests/auto/qml/reformatter/jssyntax.js
@@ -32,6 +32,12 @@ while (true) {
for (var x in a) {
print(a[x])
}
+ for (let x in a) {
+ print(a[x])
+ }
+ for (const x in a) {
+ print(a[x])
+ }
do {
a = x