Skip to content

Commit

Permalink
Улучшение вывода сообщения
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Nov 9, 2024
1 parent f2f9a25 commit eaa6a4e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ void testAllDiagnosticsHaveDiagnosticMessage() {

@Test
void testAllDiagnosticsHaveDescriptionResource() {
assertThatCode(() -> diagnosticInfos.values().forEach(diagnosticInfo
-> assertThat(diagnosticInfo.getDescription()).isNotEmpty()))
.doesNotThrowAnyException();
assertThat(diagnosticInfos).allSatisfy((key, diagnosticInfo) -> {
assertThat(diagnosticInfo.getDescription()).isNotEmpty();
});
}

@Test
Expand Down

0 comments on commit eaa6a4e

Please sign in to comment.