forked from qt-creator/qt-creator
Squish: Shorten tst_qml_indent
Change-Id: I30dadda017415440609b03e97b45b03f4bac9bbf Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -37,11 +37,8 @@ def main():
|
||||
# using a temporary directory won't mess up a potentially existing
|
||||
createNewQtQuickApplication(tempDir(), "untitled")
|
||||
originalText = prepareQmlFile()
|
||||
if not originalText:
|
||||
invokeMenuItem("File", "Save All")
|
||||
invokeMenuItem("File", "Exit")
|
||||
return
|
||||
testReIndent(originalText)
|
||||
if originalText:
|
||||
testReIndent(originalText)
|
||||
invokeMenuItem("File", "Save All")
|
||||
invokeMenuItem("File", "Exit")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user