summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/hover/init.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 79469b90..9a30ab81 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1613,3 +1613,19 @@ local t: {
z: boolean,
}
]]
+
+TEST [[
+<?a?>.b = 10 * 60
+]]
+[[
+global a: {
+ b: integer,
+}
+]]
+
+TEST [[
+a.<?b?> = 10 * 60
+]]
+[[
+global a.b: integer
+]]