Add a further test to TestHSSFRow which verifies that bug #43901 is invalid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@610340 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f9e5145d9c
commit
dc0a0b867a
@ -57,6 +57,11 @@ public class TestHSSFRow
|
|||||||
assertEquals(1, row.getFirstCellNum());
|
assertEquals(1, row.getFirstCellNum());
|
||||||
assertEquals(2, row.getLastCellNum());
|
assertEquals(2, row.getLastCellNum());
|
||||||
|
|
||||||
|
// check the exact case reported in 'bug' 43901 - notice that the cellNum is '0' based
|
||||||
|
row.createCell((short) 3);
|
||||||
|
assertEquals(1, row.getFirstCellNum());
|
||||||
|
assertEquals(3, row.getLastCellNum());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testRemoveCell()
|
public void testRemoveCell()
|
||||||
|
Loading…
Reference in New Issue
Block a user