Skip to content

Commit ec04064

Browse files
committed
correct hover test cases
1 parent 2c55ad8 commit ec04064

File tree

1 file changed

+1
-1
lines changed
  • tests/robotcode/language_server/robotframework/parts

1 file changed

+1
-1
lines changed

tests/robotcode/language_server/robotframework/parts/test_hover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def split(hover: Optional[Hover]) -> Optional[Hover]:
4040
return None
4141
if isinstance(hover.contents, MarkupContent):
4242
return Hover(
43-
MarkupContent(hover.contents.kind, hover.contents.value.splitlines()[0]),
43+
MarkupContent(hover.contents.kind, hover.contents.value.splitlines()[0].split("=")[0].strip()),
4444
hover.range,
4545
)
4646
return hover

0 commit comments

Comments
 (0)