summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-08 12:22:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-08 12:22:06 +0800
commita086e4a20d9f3f5db9947a682e1668c04c0c5d1b (patch)
tree7d203734c613dbe95b05d353dcb4acfc28f9657c /test/crossfile
parent5a8568991fe3d8570ec0d76dd7314d7f26b8b32b (diff)
downloadlua-language-server-a086e4a20d9f3f5db9947a682e1668c04c0c5d1b.zip
ref includes def
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/references.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/crossfile/references.lua b/test/crossfile/references.lua
index 5ab6a18f..1a9f2508 100644
--- a/test/crossfile/references.lua
+++ b/test/crossfile/references.lua
@@ -103,7 +103,7 @@ TEST {
{
path = 'a.lua',
content = [[
- ROOT = 1
+ <!ROOT!> = 1
]],
},
{
@@ -118,7 +118,7 @@ TEST {
{
path = 'a.lua',
content = [[
- <?ROOT?> = 1
+ <~ROOT~> = 1
]],
},
{
@@ -145,7 +145,7 @@ TEST {
---@class A
local mt
- function mt.<?f?>()
+ function mt.<~f~>()
end
]]
}
@@ -156,7 +156,7 @@ TEST {
path = 'a.lua',
content = [[
local t = {}
- t.<?x?> = 1
+ t.<~x~> = 1
return t
]]
},
@@ -192,7 +192,7 @@ TEST {
path = 'a.lua',
content = [[
local m = {}
- function m.<?func?>()
+ function m.<~func~>()
end
return m
]],
@@ -244,7 +244,7 @@ TEST {
{
path = 'a.lua',
content = [[
- local function <?f?>()
+ local function <~f~>()
end
return {
@@ -361,7 +361,7 @@ TEST {
{
path = 'a.lua',
content = [[
- local <?t?> = require 'b'
+ local <~t~> = require 'b'
return <!t!>
]]
},