From 85992f823ea9da9c6cd490560ca89777df2952c1 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 20 Oct 2015 18:04:01 +0200 Subject: [PATCH] Squish: Update tst_qml_editor for fixed editor In 3.5, the QML editor showed two empty lines at the end of the file. Now it's only one line so only one must be unmarked. Change-Id: I831002e5ab9d14570d2a788010806c0b3de5614c Reviewed-by: Christian Stenger --- tests/system/suite_editors/tst_qml_indent/test.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/system/suite_editors/tst_qml_indent/test.py b/tests/system/suite_editors/tst_qml_indent/test.py index be0d8968f95..45c1b608b2c 100644 --- a/tests/system/suite_editors/tst_qml_indent/test.py +++ b/tests/system/suite_editors/tst_qml_indent/test.py @@ -61,9 +61,8 @@ def prepareQmlFile(): markText(editor, "End") else: markText(editor, "Ctrl+End") - # unmark the 2 last lines - for _ in range(2): - type(editor, "") + # unmark the closing brace + type(editor, "") type(editor, "") for j in range(10): type(editor, "")