Skip to content

Commit

Permalink
#14 remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyweston committed Oct 28, 2019
1 parent 6a20244 commit 14df8cf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/java/bad/robot/excel/workbook/PoiWorkbookTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import bad.robot.excel.cell.BlankCell;
import bad.robot.excel.matchers.Matchers;
import bad.robot.excel.row.RowBuilder;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.xssf.usermodel.XSSFSheet;
Expand Down Expand Up @@ -155,15 +154,13 @@ public void replaceThenLoadBlankCell() throws IOException {

@Test
@Ignore
public void shouldCountMergedCellsCorrectly() throws IOException, InvalidFormatException {
// Create a workbook with a single empty sheet that has merged cells.
public void shouldCountMergedCellsWhenSingleEmptySheetHasMergedCells() throws IOException {
XSSFWorkbook workbook = new XSSFWorkbook();
XSSFSheet sheet = workbook.createSheet("Sheet1");
int firstMergedCol = 1;
int lastMergedCol = 5;
sheet.addMergedRegion(new CellRangeAddress(0, 0, firstMergedCol, lastMergedCol));

// Compare the workbook to an empty workbook without merged cells.
assertThat(workbook, is(not(sameWorkbook(getWorkbook("emptySheet.xlsx")))));
}
}

0 comments on commit 14df8cf

Please sign in to comment.