Skip to content

Commit eaa6a4e

Browse files
committed
Улучшение вывода сообщения
1 parent f2f9a25 commit eaa6a4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/DiagnosticInfosTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ void testAllDiagnosticsHaveDiagnosticMessage() {
7575

7676
@Test
7777
void testAllDiagnosticsHaveDescriptionResource() {
78-
assertThatCode(() -> diagnosticInfos.values().forEach(diagnosticInfo
79-
-> assertThat(diagnosticInfo.getDescription()).isNotEmpty()))
80-
.doesNotThrowAnyException();
78+
assertThat(diagnosticInfos).allSatisfy((key, diagnosticInfo) -> {
79+
assertThat(diagnosticInfo.getDescription()).isNotEmpty();
80+
});
8181
}
8282

8383
@Test

0 commit comments

Comments
 (0)