diff options
Diffstat (limited to 'test/crossfile/hover.lua')
-rw-r--r-- | test/crossfile/hover.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index 54d8d93c..aaf69e7a 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -850,3 +850,15 @@ hover = { name = 'bthci.rawhci', description = " Sends a raw HCI command to the BlueTooth controller." }} + +TEST {{ path = 'a.lua', content = '', }, { + path = 'b.lua', + content = [[ +---@type string | fun(): string +local <?t?> +]] +}, +hover = { + label = 'local t: string|fun():string', + name = 't', +}} |