mirror of https://github.com/apache/poi.git
bug 59775: fix cell address index error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dcf43f75bd
commit
9f45341c9c
|
@ -1223,8 +1223,9 @@ public abstract class BaseTestSheet {
|
|||
assertEquals("list size after add", 1, sheet.getHyperlinkList().size());
|
||||
|
||||
assertEquals("list", hyperlink, sheet.getHyperlinkList().get(0));
|
||||
CellAddress B6 = new CellAddress(5, 1);
|
||||
assertEquals("row, col", hyperlink, sheet.getHyperlink(5, 1));
|
||||
assertEquals("addr", hyperlink, sheet.getHyperlink(new CellAddress("B4")));
|
||||
assertEquals("addr", hyperlink, sheet.getHyperlink(B6));
|
||||
assertEquals("no hyperlink at A1", null, sheet.getHyperlink(CellAddress.A1));
|
||||
|
||||
workbook.close();
|
||||
|
|
Loading…
Reference in New Issue