aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java2
1 files changed, 1 insertions, 1 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 2f9ca1e0bb..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();