Change-Id: I32ce286d8196423f6994272d2865820e96a9c0c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208508
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-07-26 09:43:27 +02:00
committed by Julien Nabet
parent 0aed78b50b
commit 00cb1a2abf
+1 -1
View File
@@ -36,7 +36,7 @@ void TestUtil::testSearchEOL()
// Find the ending when \r is the first one
CPPUNIT_ASSERT_EQUAL(sal_Int32(3), sb::searchEOL(u"one\rtwo\n\three\r\n"));
// The three types of ending at at the end of the string
// The three types of ending at the end of the string
CPPUNIT_ASSERT_EQUAL(sal_Int32(3), sb::searchEOL(u"one\n"));
CPPUNIT_ASSERT_EQUAL(sal_Int32(3), sb::searchEOL(u"one\r"));
CPPUNIT_ASSERT_EQUAL(sal_Int32(4), sb::searchEOL(u"one\r\n"));