git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846497 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2018-11-13 09:19:05 +00:00
parent e6505d0e10
commit 3885cb0839

View File

@ -372,7 +372,7 @@ public final class TestXSSFTable {
XSSFTable table2 = sheet.createTable(reference2); XSSFTable table2 = sheet.createTable(reference2);
assertEquals("K11:M13", table2.getCTTable().getRef()); assertEquals("K11:M13", table2.getCTTable().getRef());
// these IDs dupplicate those from table1 and may be cause of https://bz.apache.org/bugzilla/show_bug.cgi?id=62906 // these IDs duplicate those from table1 and may be cause of https://bz.apache.org/bugzilla/show_bug.cgi?id=62906
assertEquals(1, table2.getCTTable().getTableColumns().getTableColumnArray(0).getId()); assertEquals(1, table2.getCTTable().getTableColumns().getTableColumnArray(0).getId());
assertEquals(2, table2.getCTTable().getTableColumns().getTableColumnArray(1).getId()); assertEquals(2, table2.getCTTable().getTableColumns().getTableColumnArray(1).getId());
assertEquals(3, table2.getCTTable().getTableColumns().getTableColumnArray(2).getId()); assertEquals(3, table2.getCTTable().getTableColumns().getTableColumnArray(2).getId());