From 8bda833c852e445a601b43f5794ca08774f3944c Mon Sep 17 00:00:00 2001 From: Semih Yavuz Date: Wed, 14 Jun 2023 23:20:37 +0200 Subject: Add missing qmlformat test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Amends 38da583642529038c1d226f54946134a7261b654 Pick-to: 6.6 Change-Id: I89d4361d2916b662680084d4bdf7166b577fe77a Reviewed-by: Olivier De Cannière Reviewed-by: Fabian Kosmale --- tests/auto/qml/qmlformat/tst_qmlformat.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/auto/qml/qmlformat') 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() -- cgit v1.2.3