From 0c30583eaed69b3fefe1406fd49be0fd695cd89c Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Thu, 25 Mar 2021 09:57:54 -0700 Subject: [PATCH] Excavator: Prefer AssertJ (#5338) Co-authored-by: svc-excavator-bot --- .../transaction/impl/AbstractSerializableTransactionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlasdb-tests-shared/src/main/java/com/palantir/atlasdb/transaction/impl/AbstractSerializableTransactionTest.java b/atlasdb-tests-shared/src/main/java/com/palantir/atlasdb/transaction/impl/AbstractSerializableTransactionTest.java index e467ba5a471..6407fa838d6 100644 --- a/atlasdb-tests-shared/src/main/java/com/palantir/atlasdb/transaction/impl/AbstractSerializableTransactionTest.java +++ b/atlasdb-tests-shared/src/main/java/com/palantir/atlasdb/transaction/impl/AbstractSerializableTransactionTest.java @@ -1342,7 +1342,7 @@ private void readSortedColumnsAndInduceConflict( } private void sanityCheckOnSortedCells(List rows, List cells, List expectedCells) { - assertThat(cells).hasSize(expectedCells.size()); + assertThat(cells).hasSameSizeAs(expectedCells); assertThat(cells).hasSameElementsAs(expectedCells); assertThat(cells).isSortedAccordingTo(columnOrderThenPreserveInputRowOrder(rows)); }