small test change

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893443 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-09-19 12:56:26 +00:00
parent f591073698
commit 53d76b369e
1 changed files with 1 additions and 0 deletions

View File

@ -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) {