diff options
Diffstat (limited to 'test/hover/init.lua')
-rw-r--r-- | test/hover/init.lua | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 1fced5b3..6570c38c 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1676,7 +1676,7 @@ TEST [[ ]] [[ global a: { - b: integer, + b: integer = 600, } ]] @@ -1684,7 +1684,7 @@ TEST [[ a.<?b?> = 10 * 60 ]] [[ -global a.b: integer +global a.b: integer = 600 ]] TEST [[ @@ -1692,7 +1692,7 @@ a.<?b?>.c = 1 * 1 ]] [[ global a.b: { - c: integer, + c: integer = 1, } ]] @@ -1745,20 +1745,6 @@ print(b.<?x?>) [[ field A.x: unknown ]] -TEST [[ ----@class A ----@field x number ----@field y number - ----@type A<string, number> -local <?t?> -]] -[[ -local t: A<string, number> { - x: number, - y: number, -} -]] TEST [[ ---@return nil |