From 53d76b369e6618b65a0cb59db1b64c992532d268 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 19 Sep 2021 12:56:26 +0000 Subject: [PATCH] small test change git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893443 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java | 1 + 1 file changed, 1 insertion(+) 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 d0c2678ad3..bef3a36519 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 @@ -1195,6 +1195,7 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook { void test501RC1Failure() throws Exception { String filename = "0-www-crossref-org.lib.rivier.edu_education-files_suffix-generator.xlsm"; try(XSSFWorkbook workbook = openSampleWorkbook(filename)) { + assertTrue(workbook.isMacroEnabled()); for (int i = 0; i < workbook.getNumberOfSheets(); i++) { XSSFSheet sheet = workbook.getSheetAt(i); for (Row row : sheet) {