Skip to content

Commit f2318e4

Browse files
authored
Merge pull request #105 from Umutayb/unit-test-logging-fix
Update AppTest.java
2 parents 3eef7c4 + 5c0a648 commit f2318e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/test/java/AppTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,11 @@ public void partitionTest() {
261261
);
262262
for (int i = 0; i < getPartitionCount(integers.size(), 2); i++) {
263263
List<Integer> partition = getListPartition(integers, 2, i);
264-
Assert.assertEquals(partition, partitionLists.get(i));
264+
Assert.assertEquals(
265+
"getListPartition() returned an unexpected partition!",
266+
partition,
267+
partitionLists.get(i)
268+
);
265269
}
266270
printer.success("The partitionTest() test pass!");
267271
}

0 commit comments

Comments
 (0)