summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-05-16 15:00:20 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2022-05-16 20:22:43 +0200
commit10bc799f9da2a4fdf2adf820d53175e4789fa6fe (patch)
tree00d1052a19c47e27d334df19dd445ab382359830 /sw
parent212eeff28317543d66acec2be551d7da9ff2a87d (diff)
Fix a UITest on Windows
Change-Id: Ieb6d04e344b1d875f2661833e17f64930681e528 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134366 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/uitest/writer_tests4/spellDialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_tests4/spellDialog.py b/sw/qa/uitest/writer_tests4/spellDialog.py
index 4a319790d0b0..4d2b4b6222ee 100644
--- a/sw/qa/uitest/writer_tests4/spellDialog.py
+++ b/sw/qa/uitest/writer_tests4/spellDialog.py
@@ -110,7 +110,7 @@ frog, dogg, catt"""
# Without the fix in place, this test would have crashed here
xChangeBtn.executeAction("CLICK", ())
- output_text = writer_doc.Text.getString().replace('\n', '')
+ output_text = writer_doc.Text.getString().replace('\n', '').replace('\r', '')
self.assertTrue(output_text.startswith("xx xx xx xxxxxxxxxxix xxxxxxxxxxxxxxviii"))
def test_tdf66043(self):