summaryrefslogtreecommitdiff
path: root/sw/qa/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/uitest')
-rw-r--r--sw/qa/uitest/writer_tests2/tdf116474.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/uitest/writer_tests2/tdf116474.py b/sw/qa/uitest/writer_tests2/tdf116474.py
index e85943d77043..e5bb89209835 100644
--- a/sw/qa/uitest/writer_tests2/tdf116474.py
+++ b/sw/qa/uitest/writer_tests2/tdf116474.py
@@ -41,13 +41,13 @@ class tdf116474(UITestCase):
xOkBtn.executeAction("CLICK", tuple())
xFrame = document.TextFrames[0]
- self.assertEqual(document.TextFrames[0].Text.String, "\nFigure 1: Caption")
+ self.assertEqual(document.TextFrames[0].Text.String, "Figure 1: Caption")
self.assertEqual(document.GraphicObjects.getCount(), 1) #nr. of images
#Undo, redo
self.xUITest.executeCommand(".uno:Undo")
self.xUITest.executeCommand(".uno:Redo")
#Verify
- self.assertEqual(document.TextFrames[0].Text.String, "\nFigure 1: Caption")
+ self.assertEqual(document.TextFrames[0].Text.String, "Figure 1: Caption")
self.assertEqual(document.GraphicObjects.getCount(), 1) #nr. of images
self.ui_test.close_doc()