We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2f9a25 commit eaa6a4eCopy full SHA for eaa6a4e
src/test/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/DiagnosticInfosTest.java
@@ -75,9 +75,9 @@ void testAllDiagnosticsHaveDiagnosticMessage() {
75
76
@Test
77
void testAllDiagnosticsHaveDescriptionResource() {
78
- assertThatCode(() -> diagnosticInfos.values().forEach(diagnosticInfo
79
- -> assertThat(diagnosticInfo.getDescription()).isNotEmpty()))
80
- .doesNotThrowAnyException();
+ assertThat(diagnosticInfos).allSatisfy((key, diagnosticInfo) -> {
+ assertThat(diagnosticInfo.getDescription()).isNotEmpty();
+ });
81
}
82
83
0 commit comments