summaryrefslogtreecommitdiff
path: root/server/test/crossfile/hover.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/crossfile/hover.lua')
-rw-r--r--server/test/crossfile/hover.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/server/test/crossfile/hover.lua b/server/test/crossfile/hover.lua
index 1d4328e1..dc6df615 100644
--- a/server/test/crossfile/hover.lua
+++ b/server/test/crossfile/hover.lua
@@ -123,6 +123,8 @@ TEST {
label = 'function f(a: any, b: any)',
name = 'f',
args = EXISTS,
+ title = EXISTS,
+ returns = EXISTS,
}
}
@@ -145,6 +147,8 @@ TEST {
label = 'function (a: any, b: any)',
name = '',
args = EXISTS,
+ title = EXISTS,
+ returns = EXISTS,
}
}
@@ -175,6 +179,8 @@ TEST {
label = 'function mt:add(a: any, b: any)',
name = 'mt:add',
args = EXISTS,
+ title = EXISTS,
+ returns = EXISTS,
},
}
@@ -245,6 +251,8 @@ TEST {
name = 'f',
description = 'abc',
args = EXISTS,
+ title = EXISTS,
+ returns = EXISTS,
}
}
@@ -286,6 +294,8 @@ TEST {
name = 'f',
args = EXISTS,
rawEnum = EXISTS,
+ title = EXISTS,
+ returns = EXISTS,
enum = [[
x: string
@@ -314,6 +324,8 @@ TEST {
name = 'f',
args = EXISTS,
rawEnum = EXISTS,
+ title = EXISTS,
+ returns = EXISTS,
enum = [[
x: option
@@ -339,6 +351,8 @@ TEST {
label = 'function f(x: string, y: string)',
name = 'f',
args = EXISTS,
+ title = EXISTS,
+ returns = EXISTS,
description = [[
+ `x`*(string)*: aaaa