diff options
-rw-r--r-- | poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java index 71cca08c79..9e1a7cc0f3 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java @@ -1432,7 +1432,7 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook { @Test void testGithub321() throws Exception { - try (XSSFWorkbook wb = new XSSFWorkbook(getSampleFile("github-321.xlsx"))) { + try (XSSFWorkbook wb = openSampleWorkbook("github-321.xlsx")) { XSSFSheet xssfSheet = wb.getSheetAt(0); DataFormatter dataFormatter = new DataFormatter(); FormulaEvaluator formulaEvaluator = wb.getCreationHelper().createFormulaEvaluator(); @@ -1445,8 +1445,6 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook { assertEquals("2.1", dataFormatter.formatCellValue(a4)); assertEquals("2.1", dataFormatter.formatCellValue(a4, formulaEvaluator)); } - System.out.println("sleeping"); - Thread.sleep(1000 * 1000); } @Test |