From af0d61f36d8c83bfd8bb63c875d17cf7e078f1b6 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Tue, 11 Sep 2018 20:51:02 +0000 Subject: [PATCH] fpspreadsheet: Fix formula mismatch in test suite. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6644 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/tests/singleformulatests.pas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/fpspreadsheet/tests/singleformulatests.pas b/components/fpspreadsheet/tests/singleformulatests.pas index d0bfab521..042803224 100644 --- a/components/fpspreadsheet/tests/singleformulatests.pas +++ b/components/fpspreadsheet/tests/singleformulatests.pas @@ -523,24 +523,24 @@ end; procedure TSpreadSingleFormulaTests.IfConst_BIFF8; begin - TestFormula('IF(C3="A","is A","not A")', 'not A', ftkConstants, sfExcel8); + TestFormula('IF(C3="A","is A","not A")', 'not A', ftkCellConstant, sfExcel8); end; procedure TSpreadSingleFormulaTests.IfConst_OOXML; begin - TestFormula('IF(C3="A","is A","not A")', 'not A', ftkConstants, sfOOXML); + TestFormula('IF(C3="A","is A","not A")', 'not A', ftkCellConstant, sfOOXML); end; procedure TSpreadSingleFormulaTests.IfConst_ODS; begin - TestFormula('IF(C3="A","is A","not A")', 'not A', ftkConstants, sfOpenDocument); + TestFormula('IF(C3="A","is A","not A")', 'not A', ftkCellConstant, sfOpenDocument); end; { --- } procedure TSpreadSingleFormulaTests.IfConst_BIFF8_2; begin - TestFormula('IF(C3=1,"equal","different")', 'equal', ftkConstants, sfExcel8); + TestFormula('IF(C3=1,"equal","different")', 'equal', ftkCellConstant, sfExcel8); end; { --- }