aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat
diff options
context:
space:
mode:
authorSemih Yavuz <semih.yavuz@qt.io>2023-06-14 23:20:37 +0200
committerSemih Yavuz <semih.yavuz@qt.io>2023-06-15 13:57:32 +0200
commit8bda833c852e445a601b43f5794ca08774f3944c (patch)
tree1a7dc75972872873f8bb3103d69032e77faad5ce /tests/auto/qml/qmlformat
parent9355b7173c10045f7908bf16a97ba693967517e1 (diff)
Add missing qmlformat test
Amends 38da583642529038c1d226f54946134a7261b654 Pick-to: 6.6 Change-Id: I89d4361d2916b662680084d4bdf7166b577fe77a Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlformat')
-rw-r--r--tests/auto/qml/qmlformat/tst_qmlformat.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/tst_qmlformat.cpp b/tests/auto/qml/qmlformat/tst_qmlformat.cpp
index 48efab4b3a..79799223fa 100644
--- a/tests/auto/qml/qmlformat/tst_qmlformat.cpp
+++ b/tests/auto/qml/qmlformat/tst_qmlformat.cpp
@@ -331,6 +331,9 @@ void TestQmlformat::testFormat_data()
QTest::newRow("blanklinesAfterComment")
<< "blanklinesAfterComment.qml"
<< "blanklinesAfterComment.formatted.qml" << QStringList{} << RunOption::OnCopy;
+ QTest::newRow("pragmaValueList")
+ << "pragma.qml"
+ << "pragma.formatted.qml" << QStringList{} << RunOption::OnCopy;
}
void TestQmlformat::testFormat()