mirror of https://github.com/apache/poi.git
Fix unit test broken with previous check-in
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829640 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a125fb97b5
commit
e9d07e2023
|
@ -331,7 +331,8 @@ public abstract class BaseTestWorkbook {
|
|||
public void testSetActiveCell() throws IOException {
|
||||
try (Workbook wb = _testDataProvider.createWorkbook()) {
|
||||
Sheet sheet = wb.createSheet("new sheet");
|
||||
assertEquals(new CellAddress("A1"), sheet.getActiveCell());
|
||||
final CellAddress initialActiveCell = sheet.getActiveCell();
|
||||
assertTrue(initialActiveCell == null || new CellAddress("A1").equals(initialActiveCell));
|
||||
sheet.setActiveCell(new CellAddress("E11"));
|
||||
assertEquals(new CellAddress("E11"), sheet.getActiveCell());
|
||||
|
||||
|
|
Loading…
Reference in New Issue