summaryrefslogtreecommitdiff
path: root/test-beta/hover/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta/hover/init.lua')
-rw-r--r--test-beta/hover/init.lua18
1 files changed, 16 insertions, 2 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua
index 68bf3e3b..68205e38 100644
--- a/test-beta/hover/init.lua
+++ b/test-beta/hover/init.lua
@@ -492,11 +492,25 @@ local self: obj {
}
]]
-TEST[[
+TEST [[
+print(<?utf8?>)
+]]
+[[
+global utf8: utf8 {
+ char: function,
+ charpattern: string,
+ codepoint: function,
+ codes: function,
+ len: function,
+ offset: function,
+}
+]]
+
+TEST [[
local <?sssss?> = require 'utf8'
]]
[[
-local sssss<utf8>: {
+local sssss: utf8 {
char: function,
charpattern: string,
codepoint: function,