diff options
author | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-10-20 18:04:01 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-10-22 12:09:33 +0000 |
commit | 85992f823ea9da9c6cd490560ca89777df2952c1 (patch) | |
tree | 0a17cc4171cc3bb3a9fecbfc44cf3372af93d2a8 | |
parent | c4872962cd6cbee532fc76be6ddb8cdc521f5e61 (diff) | |
download | qt-creator-85992f823ea9da9c6cd490560ca89777df2952c1.tar.gz |
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 <christian.stenger@theqtcompany.com>
-rw-r--r-- | tests/system/suite_editors/tst_qml_indent/test.py | 5 |
1 files 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 be0d8968f9..45c1b608b2 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, "<Shift+Up>") + # unmark the closing brace + type(editor, "<Shift+Up>") type(editor, "<Ctrl+c>") for j in range(10): type(editor, "<Ctrl+v>") |