Commit 267ce98
Use assertThatCode with lambda to test getDiagnostics doesn't throw
- Import assertThatCode from assertj
- Replace isEmpty() assertion with doesNotThrowAnyException()
- Specifically test that getDiagnostics call doesn't throw NPE
Co-authored-by: nixel2007 <[email protected]>1 parent 9f3ab19 commit 267ce98
File tree
1 file changed
+3
-3
lines changed- src/test/java/com/github/_1c_syntax/bsl/languageserver/diagnostics
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
0 commit comments