From a672da33c928f965504521bdd90f831f3ab48b2a Mon Sep 17 00:00:00 2001 From: mnhock Date: Sat, 6 Jul 2024 16:04:45 +0200 Subject: [PATCH] Fix not enough arguments in formatted string --- .../java/com/enofex/taikai/spring/PropertiesConfigurer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/enofex/taikai/spring/PropertiesConfigurer.java b/src/main/java/com/enofex/taikai/spring/PropertiesConfigurer.java index f797859..413c92b 100644 --- a/src/main/java/com/enofex/taikai/spring/PropertiesConfigurer.java +++ b/src/main/java/com/enofex/taikai/spring/PropertiesConfigurer.java @@ -48,7 +48,7 @@ public PropertiesConfigurer shouldBeAnnotatedWithValidated(Configuration configu .that(are(annotatedWithConfigurationProperties(true))) .should().beMetaAnnotatedWith(ANNOTATION_VALIDATED) .as("Configuration properties annotated with %s should be annotated with %s as well".formatted( - ANNOTATION_VALIDATED)), + ANNOTATION_CONFIGURATION_PROPERTIES, ANNOTATION_VALIDATED)), configuration)); }