diff options
author | Uladzislau Paulovich <selatnick@gmail.com> | 2019-06-09 02:31:28 +0300 |
---|---|---|
committer | selatnick <selatnick@gmail.com> | 2019-06-11 10:03:57 +0000 |
commit | 69cd74f25d28b0fda0db6a958dd34f8c7daab5ca (patch) | |
tree | fed63ee7040ae448ece351467d35d2da094d9949 /tests/auto | |
parent | 5f26fe6298577cd75c77bddc67586f19c33da43d (diff) |
qml | Fix let/const variables formatting
Change-Id: Ia2a4ee482e84a6c24abea7ea6fe05925eee11d1d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qml/reformatter/jssyntax.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/reformatter/jssyntax.js b/tests/auto/qml/reformatter/jssyntax.js index 5ef1a2adcd..9fd8b38a56 100644 --- a/tests/auto/qml/reformatter/jssyntax.js +++ b/tests/auto/qml/reformatter/jssyntax.js @@ -1,6 +1,10 @@ var x var y = 12 +var a_var = 1 +let a_let = 2 +const a_const = 3 + function foo(a, b) { x = 15 x += 4 |