Commit e31aa08
Fix ModuleSymbolMarkupContentBuilderTest assertions
Removed splitting by "---" separator and checking individual blocks.
Instead, directly check that the full content contains the expected strings:
- For CommonModule: contains module name, doesn't contain prefix, contains localized mdoRef
- For ManagerModule: contains localized mdoRef
- For ObjectModule: contains localized mdoRef
This matches the actual output of DescriptionFormatter.addSectionIfNotEmpty().
Co-authored-by: nixel2007 <[email protected]>1 parent 5520bb2 commit e31aa08
File tree
1 file changed
+5
-19
lines changed- src/test/java/com/github/_1c_syntax/bsl/languageserver/hover
1 file changed
+5
-19
lines changedLines changed: 5 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 65 | | |
72 | | - | |
73 | | - | |
| 66 | + | |
| 67 | + | |
74 | 68 | | |
75 | 69 | | |
76 | | - | |
| 70 | + | |
77 | 71 | | |
78 | 72 | | |
79 | 73 | | |
| |||
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 85 | | |
96 | | - | |
| 86 | + | |
97 | 87 | | |
98 | 88 | | |
99 | 89 | | |
| |||
108 | 98 | | |
109 | 99 | | |
110 | 100 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 101 | | |
116 | | - | |
| 102 | + | |
117 | 103 | | |
118 | 104 | | |
119 | 105 | | |
| |||
0 commit comments