diff options
Diffstat (limited to 'tests/auto/qml/qmlformat/tst_qmlformat.cpp')
-rw-r--r-- | tests/auto/qml/qmlformat/tst_qmlformat.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/tst_qmlformat.cpp b/tests/auto/qml/qmlformat/tst_qmlformat.cpp index 7690f78e9d..ecb53b295f 100644 --- a/tests/auto/qml/qmlformat/tst_qmlformat.cpp +++ b/tests/auto/qml/qmlformat/tst_qmlformat.cpp @@ -55,6 +55,8 @@ private Q_SLOTS: void testLargeBindings(); void testInlineComponents(); + void testQtbug85003(); + #if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled void testExample(); void testExample_data(); @@ -255,6 +257,12 @@ void TestQmlformat::testLineEndings() QVERIFY(!unixContents.contains("\r")); } +void TestQmlformat::testQtbug85003() +{ + QCOMPARE(runQmlformat(testFile("QtBug85003.qml"), false, true), + readTestFile("QtBug85003.formatted.qml")); +} + #if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled void TestQmlformat::testExample_data() { |