Add test which verifies that bug 61605 is already fixed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2018-12-28 19:52:46 +00:00
parent 0e8d437a30
commit 3c99c70acf
2 changed files with 10 additions and 0 deletions

View File

@ -85,4 +85,14 @@ public class TestXSSFCloneSheet extends BaseTestCloneSheet {
wb.close();
}
@Test
public void test61605() throws IOException {
try (Workbook template_wb = XSSFTestDataSamples.openSampleWorkbook("61605.xlsx")) {
Sheet template_sh = template_wb.getSheetAt(0);
assertNotNull(template_sh);
Sheet source_sh = template_wb.cloneSheet(0);
assertNotNull(source_sh);
}
}
}

Binary file not shown.