Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Excavator: Prefer AssertJ (#5338)
Browse files Browse the repository at this point in the history
Co-authored-by: svc-excavator-bot <[email protected]>
  • Loading branch information
svc-excavator-bot and svc-excavator-bot authored Mar 25, 2021
1 parent 9465080 commit 0c30583
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ private void readSortedColumnsAndInduceConflict(
}

private void sanityCheckOnSortedCells(List<byte[]> rows, List<Cell> cells, List<Cell> expectedCells) {
assertThat(cells).hasSize(expectedCells.size());
assertThat(cells).hasSameSizeAs(expectedCells);
assertThat(cells).hasSameElementsAs(expectedCells);
assertThat(cells).isSortedAccordingTo(columnOrderThenPreserveInputRowOrder(rows));
}
Expand Down

0 comments on commit 0c30583

Please sign in to comment.