You've already forked lazarus-ccr
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
This commit is contained in:
@ -523,24 +523,24 @@ end;
|
|||||||
|
|
||||||
procedure TSpreadSingleFormulaTests.IfConst_BIFF8;
|
procedure TSpreadSingleFormulaTests.IfConst_BIFF8;
|
||||||
begin
|
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;
|
end;
|
||||||
|
|
||||||
procedure TSpreadSingleFormulaTests.IfConst_OOXML;
|
procedure TSpreadSingleFormulaTests.IfConst_OOXML;
|
||||||
begin
|
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;
|
end;
|
||||||
|
|
||||||
procedure TSpreadSingleFormulaTests.IfConst_ODS;
|
procedure TSpreadSingleFormulaTests.IfConst_ODS;
|
||||||
begin
|
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;
|
end;
|
||||||
|
|
||||||
{ --- }
|
{ --- }
|
||||||
|
|
||||||
procedure TSpreadSingleFormulaTests.IfConst_BIFF8_2;
|
procedure TSpreadSingleFormulaTests.IfConst_BIFF8_2;
|
||||||
begin
|
begin
|
||||||
TestFormula('IF(C3=1,"equal","different")', 'equal', ftkConstants, sfExcel8);
|
TestFormula('IF(C3=1,"equal","different")', 'equal', ftkCellConstant, sfExcel8);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ --- }
|
{ --- }
|
||||||
|
Reference in New Issue
Block a user