aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/tst_qmlformat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/tst_qmlformat.cpp')
-rw-r--r--tests/auto/qml/qmlformat/tst_qmlformat.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/auto/qml/qmlformat/tst_qmlformat.cpp b/tests/auto/qml/qmlformat/tst_qmlformat.cpp
index f114704b0a..165be7e973 100644
--- a/tests/auto/qml/qmlformat/tst_qmlformat.cpp
+++ b/tests/auto/qml/qmlformat/tst_qmlformat.cpp
@@ -201,21 +201,17 @@ void TestQmlformat::testFormat_data()
QTest::addColumn<QString>("fileFormatted");
QTest::addColumn<QStringList>("args");
- QTest::newRow("example1 (sorted)") << "Example1.qml"
- << "Example1.formatted.qml" << QStringList {};
- QTest::newRow("example1 (not sorted)")
+ QTest::newRow("example1")
<< "Example1.qml"
- << "Example1.formatted.nosort.qml" << QStringList { "-n" };
+ << "Example1.formatted.qml" << QStringList {};
QTest::newRow("example1 (tabs)") << "Example1.qml"
<< "Example1.formatted.tabs.qml" << QStringList { "-t" };
QTest::newRow("example1 (two spaces)")
<< "Example1.qml"
<< "Example1.formatted.2spaces.qml" << QStringList { "-w", "2" };
- QTest::newRow("annotation (sorted)") << "Annotations.qml"
- << "Annotations.formatted.qml" << QStringList {};
- QTest::newRow("annotation (not sorted)")
+ QTest::newRow("annotation")
<< "Annotations.qml"
- << "Annotations.formatted.nosort.qml" << QStringList { "-n" };
+ << "Annotations.formatted.qml" << QStringList {};
QTest::newRow("front inline") << "FrontInline.qml"
<< "FrontInline.formatted.qml" << QStringList {};
QTest::newRow("if blocks") << "IfBlocks.qml"