]> source.dussan.org Git - poi.git/commitdiff
revert test change
authorPJ Fanning <fanningpj@apache.org>
Wed, 25 Oct 2023 16:41:09 +0000 (16:41 +0000)
committerPJ Fanning <fanningpj@apache.org>
Wed, 25 Oct 2023 16:41:09 +0000 (16:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913329 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java

index 2f9ca1e0bbd9d0fa43c9d4524df111280b34c63b..9e1a7cc0f34a96b38ed025061ca4158e392abca2 100644 (file)
@@ -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();