diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/TestXLookupFunction.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/TestXLookupFunction.java index 932629255c..16122cfffc 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/TestXLookupFunction.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/TestXLookupFunction.java @@ -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()); }