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
@ -56,6 +56,11 @@ public class TestHSSFRow
|
||||
row.createCell((short) 1);
|
||||
assertEquals(1, row.getFirstCellNum());
|
||||
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());
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user