diff options
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 4ced7eb0e89..d2caa1b555e 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") + } } } |