mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-08-29 09:34:00 +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) {
|
||||
Assertions.assertThat(registry.getAll().size())
|
||||
.as("Daemon registry size should be " + size)
|
||||
.isEqualTo(size);
|
||||
Assertions.assertThat(registry.getAll())
|
||||
.as("Daemon registry size should be %d actually containing:(%s)", size, registry.getAll())
|
||||
.hasSize(size);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user