mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-10-13 13:44:26 +00:00
Added more information in assertThat().as(..).
This commit is contained in:
@@ -69,8 +69,8 @@ public class ResidentExtensionsTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void assertDaemonRegistrySize(int size) {
|
private void assertDaemonRegistrySize(int size) {
|
||||||
Assertions.assertThat(registry.getAll().size())
|
Assertions.assertThat(registry.getAll())
|
||||||
.as("Daemon registry size should be " + size)
|
.as("Daemon registry size should be %d actually containing:(%s)", size, registry.getAll())
|
||||||
.isEqualTo(size);
|
.hasSize(size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user