Unit test for bug #57181

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693676 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2015-08-01 00:25:20 +00:00
parent 8472bdb56a
commit 10611e04ac
2 changed files with 9 additions and 0 deletions

View File

@ -2487,4 +2487,13 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues {
wb.close();
}
/**
* Excel 2007 generated Macro-Enabled .xlsm file
*/
@Test
public void bug57181() throws Exception {
XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("57181.xlsm");
assertEquals(9, wb.getNumberOfSheets());
}
}

Binary file not shown.