From 8f7cbd6416debf2214977a43edeb5f90b5cee702 Mon Sep 17 00:00:00 2001 From: Uladzislau Paulovich Date: Sun, 9 Jun 2019 02:27:01 +0300 Subject: qml | Fix trailing comments formatting Change-Id: I0461c4616cff15b7010e3844850d32e9f07469ea Reviewed-by: Tim Jenssen --- tests/auto/qml/reformatter/comments.qml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/auto') 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") + } } } -- cgit v1.2.3