forked from qt-creator/qt-creator
Apparently the reformatting truncates any sequence of multiple empty lines into one. That seems to be by design. Therefore, remove one of the two adjacent empty lines from commments.qml. Also, don't invert the actual and expected values in the test code. Change-Id: Id87c6fa0b2c7a03884d42d109b7d55f5040a927a Reviewed-by: Marco Benelli <marco.benelli@qt.io>
26 lines
394 B
QML
26 lines
394 B
QML
import QtQuick 2.0
|
|
|
|
/* Comment 1
|
|
This is a multiline comment. */
|
|
|
|
/*
|
|
Another multiline comment.
|
|
|
|
A slightly different formatting.
|
|
*/
|
|
Item {
|
|
/*
|
|
Indented multiline comment.
|
|
*/
|
|
|
|
// Comment over a signal.
|
|
signal foo
|
|
|
|
function test() {
|
|
for (var i = model.count - 1; i >= 0; --i) // in-line comment
|
|
{
|
|
console.log("test")
|
|
}
|
|
}
|
|
}
|