Squish: Shorten tst_qml_indent

Change-Id: I30dadda017415440609b03e97b45b03f4bac9bbf
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Robert Loehning
2015-06-30 17:38:47 +02:00
parent 3bb12d01b4
commit df35fe0fd9

View File

@@ -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")