Kaydet (Commit) 12efb01e authored tarafından Mike Kaganski's avatar Mike Kaganski

Use platform-specific newline in unit test

Change-Id: I7ff67ff952ecb2682a163866b91a9f2621dde935
Reviewed-on: https://gerrit.libreoffice.org/46210Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 50b0f93f
...@@ -218,7 +218,7 @@ DECLARE_RTFIMPORT_TEST(testFdo45182, "fdo45182.rtf") ...@@ -218,7 +218,7 @@ DECLARE_RTFIMPORT_TEST(testFdo45182, "fdo45182.rtf")
uno::UNO_QUERY); uno::UNO_QUERY);
uno::Reference<text::XTextRange> xTextRange(xFootnotes->getByIndex(0), uno::UNO_QUERY); uno::Reference<text::XTextRange> xTextRange(xFootnotes->getByIndex(0), uno::UNO_QUERY);
// Encoding in the footnote was wrong. // Encoding in the footnote was wrong.
OUString aExpected(u"\u017Eivnost\u00ED\n"); OUString aExpected(u"\u017Eivnost\u00ED" SAL_NEWLINE_STRING);
CPPUNIT_ASSERT_EQUAL(aExpected, xTextRange->getString()); CPPUNIT_ASSERT_EQUAL(aExpected, xTextRange->getString());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment