forked from qt-creator/qt-creator
Squish: Update tst_codepasting
Change-Id: I7929a97dea0a362f07eff46a37d84b65fa546bbc 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"))
|
||||
continue
|
||||
test.compare(filenameCombo.currentText, "%s: %s" % (protocol, pasteId), "Verify title of editor")
|
||||
if protocol in (NAME_DPCOM) and pastedText.endswith("\n"):
|
||||
if protocol in (NAME_DPCOM, NAME_PBCOM) and pastedText.endswith("\n"):
|
||||
pastedText = pastedText[:-1]
|
||||
test.compare(editor.plainText, pastedText, "Verify that pasted and fetched texts are the same")
|
||||
|
||||
|
Reference in New Issue
Block a user