[Libreoffice-commits] core.git: starmath/qa

Takeshi Abe tabe at fixedpoint.jp
Wed Nov 26 04:57:17 PST 2014


 starmath/qa/cppunit/test_nodetotextvisitors.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 465a4b2be8ed4c1f6d0d9995cd8d4c00ce7ae8bd
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Sat Nov 22 17:17:02 2014 +0900

    Correct and reenable SmNodeToTextVisitor's test for RSUP
    
    See 44a3a345ac2b9901122a9eac70538ef04417bbd4 about why ^ is chosen.
    
    Change-Id: I05cda4d69eaa1757a95c06c199e09d9c67f47832
    Reviewed-on: https://gerrit.libreoffice.org/13037
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx b/starmath/qa/cppunit/test_nodetotextvisitors.cxx
index 6940f19..b62212d 100644
--- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx
+++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx
@@ -573,8 +573,8 @@ void Test::testBinHorInSubSup()
     aCursor.InsertElement(PlusElement);
     aCursor.InsertText("d");
 
-//FIXME    OUString sExpected = " { a rsup { b + c } + d } ";
-//FIXME    CPPUNIT_ASSERT_EQUAL_MESSAGE("BinHor in SubSup", sExpected, xDocShRef->GetText());
+    OUString sExpected = " { a ^ { b + c } + d } ";
+    CPPUNIT_ASSERT_EQUAL_MESSAGE("BinHor in SubSup", sExpected, xDocShRef->GetText());
 
     delete pTree;
 }


More information about the Libreoffice-commits mailing list