mirror of https://github.com/apache/poi.git
initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f6e5e5f1c5
commit
0a66fe284b
|
@ -47,9 +47,6 @@ public class TestXLookupFunction {
|
|||
String cellRef = String.format(Locale.ENGLISH, "%s2:%s2", col1, col2);
|
||||
sheet.setArrayFormula(formulaText, CellRangeAddress.valueOf(cellRef));
|
||||
fe.evaluateAll();
|
||||
try (java.io.FileOutputStream fos = new java.io.FileOutputStream("/tmp/xlook.xlsx")) {
|
||||
wb.write(fos);
|
||||
}
|
||||
assertEquals("Dianne Pugh", row1.getCell(2).getStringCellValue());
|
||||
assertEquals("Finance", row1.getCell(3).getStringCellValue());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue