diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2020-07-01 14:49:21 +0200 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2020-07-02 13:47:15 +0200 |
commit | a2969b1720fc8fbd6cb84562fb62a8c02cbca84a (patch) | |
tree | a6250d61c800eaa95aa03e417509ea32029d8222 /tests/auto/qml/qmlformat | |
parent | 9df9059a4b88676c7352db92391de2c268550fc0 (diff) |
qmlformat: Fix handling of empty blocks
Empty blocks were often not handled properly.
(i.e. in if, for and while blocks)
Fixes: QTBUG-85321
Pick-to: 5.15
Change-Id: I4035dd239a095814362e0aec142b387dc113f282
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlformat')
-rw-r--r-- | tests/auto/qml/qmlformat/tst_qmlformat.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/qml/qmlformat/tst_qmlformat.cpp b/tests/auto/qml/qmlformat/tst_qmlformat.cpp index c3e5f40481..f1fb0d025f 100644 --- a/tests/auto/qml/qmlformat/tst_qmlformat.cpp +++ b/tests/auto/qml/qmlformat/tst_qmlformat.cpp @@ -143,10 +143,6 @@ void TestQmlformat::initTestCase() m_invalidFiles << "tests/auto/qml/qqmlecmascript/data/incrDecrSemicolon1.qml"; m_invalidFiles << "tests/auto/qml/qqmlecmascript/data/incrDecrSemicolon_error1.qml"; m_invalidFiles << "tests/auto/qml/qqmlecmascript/data/incrDecrSemicolon2.qml"; - - // QTBUG-85321 - m_invalidFiles << "tests/manual/scenegraph_lancelot/data/shaders/propertyanimation/" - "uniformanimator_stall.qml"; } QStringList TestQmlformat::findFiles(const QDir &d) |