Commit 05881cae authored by Colin DAMON's avatar Colin DAMON

Method typo

parent eb1815eb
Pipeline #30119 passed with stage
in 9 minutes and 42 seconds
......@@ -49,7 +49,7 @@ public class ErrorMessagesUnitTest {
errors
.stream()
.filter(error -> error.isEnum())
.forEach(error -> Arrays.stream(error.getEnumConstants()).forEach(value -> messages.forEach(assertMessageExist(value))));
.forEach(error -> Arrays.stream(error.getEnumConstants()).forEach(value -> messages.forEach(assertMessageExists(value))));
}
private List<Properties> loadMessages() {
......@@ -73,7 +73,7 @@ public class ErrorMessagesUnitTest {
};
}
private Consumer<Properties> assertMessageExist(PouetMessage value) {
private Consumer<Properties> assertMessageExists(PouetMessage value) {
return currentMessages -> {
assertThat(currentMessages.getProperty("pouet.error." + value.getMessageKey()))
.as("Can't find message for " + value.getMessageKey() + " in all files, check your configuration")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment