GH-601 - Support for wildcard references to named interfaces in explicitly defined allowed application module dependencies.
When defining allowed application module dependencies to named interfaces, the asterisk can now be used to allow referencing all named interfaces declared by the target module.
This commit is contained in:
@@ -106,7 +106,7 @@ class ApplicationModulesIntegrationTest {
|
||||
assertThat(modules.getModuleByName("invalid3")).hasValueSatisfying(it -> {
|
||||
assertThatExceptionOfType(Violations.class).isThrownBy(() -> it.verifyDependencies(modules))
|
||||
.withMessageContaining("Allowed targets")
|
||||
.withMessageContaining("complex::API");
|
||||
.withMessageContaining("complex :: API");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user