]> source.dussan.org Git - poi.git/commitdiff
fixed the tests, but they still work
authorAvik Sengupta <avik@apache.org>
Fri, 3 May 2002 15:47:20 +0000 (15:47 +0000)
committerAvik Sengupta <avik@apache.org>
Fri, 3 May 2002 15:47:20 +0000 (15:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352596 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/usermodel/TestFormulas.java

index 437eaa431e6e8cd28218ab5efc139558769469f3..ca25c305fe3b58a73cca45e0edf76fd78b86cf5d 100644 (file)
@@ -652,7 +652,7 @@ extends TestCase {
             c = r.getCell((short)0);
             
             assertTrue("function ="+function+"(A2,A3)",
-                        ( (function+"(A2,A3)").equals((function+"(A2,A3)")) )
+                        ( (function+"(A2,A3)").equals(c.getCellFormula()) )
                       );
             in.close();
     }
@@ -691,7 +691,7 @@ extends TestCase {
             c = r.getCell((short)0);
             
             assertTrue("function ="+function+"(A2:A4,B2:B4)",
-                        ( (function+"(A2:A4,B2:B4)").equals((function+"(A2:A4,B2:B4)")) )
+                        ( (function+"(A2:A4,B2:B4)").equals(c.getCellFormula()) )
                       );
             in.close();
     }