vcl/qa/cppunit/complextext.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 21f13b90295edf84f87125791e05810666058a1c Author: Khaled Hosny <kha...@libreoffice.org> AuthorDate: Tue Aug 1 14:49:12 2023 +0300 Commit: خالد حسني <kha...@libreoffice.org> CommitDate: Tue Aug 1 18:43:58 2023 +0200 Fix reversed expected and actual unit test results Change-Id: Ie7eaec7ce9ad6f85b02edc831f1d138f45c18220 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155152 Tested-by: Jenkins Reviewed-by: خالد حسني <kha...@libreoffice.org> diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx index ec6ce0ccd0e2..a0ab0c4c00bc 100644 --- a/vcl/qa/cppunit/complextext.cxx +++ b/vcl/qa/cppunit/complextext.cxx @@ -566,10 +566,10 @@ CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testTdf107612) // Assert that U+202F is included in the fallback run. // Without the fix this fails with: - // - Expected: { 2 } - // - Actual : { 1, 2 } + // - Expected: { 1, 2 } + // - Actual : { 2 } std::vector<sal_Int32> aExpctedFallbacks = { 1, 2 }; - CPPUNIT_ASSERT_EQUAL(aFallbacks, aExpctedFallbacks); + CPPUNIT_ASSERT_EQUAL(aExpctedFallbacks, aExpctedFallbacks); #endif }