forked from qt-creator/qt-creator
Squish: Update tst_codepasting
Change-Id: Ie908f0af267f420e107c06ae039bb085462f945d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -239,7 +239,7 @@ def main():
|
|||||||
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
|
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
|
||||||
continue
|
continue
|
||||||
test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor")
|
test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor")
|
||||||
if protocol in (NAME_PBCOM, NAME_DPCOM) and pastedText.endswith("\n"):
|
if protocol in (NAME_DPCOM) and pastedText.endswith("\n"):
|
||||||
pastedText = pastedText[:-1]
|
pastedText = pastedText[:-1]
|
||||||
test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same")
|
test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user