From bc3976210d46fc7187a00930b6761abad60cc967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 8 Oct 2021 19:08:39 +0800 Subject: fix #706 --- test/crossfile/hover.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test') diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index 13e5e5c0..b1c4c804 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -999,3 +999,22 @@ local x: number --- aaa]]} + +TEST {{ path = 'a.lua', content = '', }, { + path = 'b.lua', + content = [[ +---line1 +--- +---line2 +local function () end +]] +}, +hover = [[ +```lua +function fn() +``` + +--- +line1 + +line2]]} -- cgit v1.2.3