mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Consistent catching of Throwable for introspection failures
Issue: SPR-12889
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ public class ComposedRepeatableAnnotationsTests {
|
||||
|
||||
private void expectNonRepeatableAnnotation() {
|
||||
exception.expect(IllegalArgumentException.class);
|
||||
exception.expectMessage(startsWith("annotationType must be a repeatable annotation"));
|
||||
exception.expectMessage(startsWith("Annotation type must be a repeatable annotation"));
|
||||
exception.expectMessage(containsString("failed to resolve container type for"));
|
||||
exception.expectMessage(containsString(NonRepeatable.class.getName()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user