diff options
author | Uladzislau Paulovich <selatnick@gmail.com> | 2019-06-09 02:27:01 +0300 |
---|---|---|
committer | selatnick <selatnick@gmail.com> | 2019-06-11 15:23:17 +0000 |
commit | 8f7cbd6416debf2214977a43edeb5f90b5cee702 (patch) | |
tree | 2f9804425a066fea22133d3842669047e5252b71 /tests/auto | |
parent | 8dc16d55c26af46101365434f0f29847c3959cc7 (diff) |
qml | Fix trailing comments formatting
Change-Id: I0461c4616cff15b7010e3844850d32e9f07469ea
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qml/reformatter/comments.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/reformatter/comments.qml b/tests/auto/qml/reformatter/comments.qml index 4ced7eb0e8..d2caa1b555 100644 --- a/tests/auto/qml/reformatter/comments.qml +++ b/tests/auto/qml/reformatter/comments.qml @@ -21,5 +21,13 @@ Item { { console.log("test") } + + var a = 1 + if (a > 0) { + console.log("positive") + } // Final condition + else { + console.log("negative or zero") + } } } |