summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-29 19:49:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-29 19:49:26 +0800
commit8c44ca7459ed6df935cb2859fb45ef32207eef55 (patch)
tree021f05b801936f360e07ed63cc7fa5413ab3ce31 /test
parent4f391eea466b3d04b058e83d1c166780ad885f2f (diff)
downloadlua-language-server-8c44ca7459ed6df935cb2859fb45ef32207eef55.zip
update
Diffstat (limited to 'test')
-rw-r--r--test/basic/noder.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/basic/noder.lua b/test/basic/noder.lua
index 99c28964..87fe73da 100644
--- a/test/basic/noder.lua
+++ b/test/basic/noder.lua
@@ -74,39 +74,39 @@ local x
TEST [[
print(<?X?>)
]] {
- id = 'g:"X"',
+ id = 'g:.X',
}
TEST [[
print(<?X?>)
]] {
- id = 'g:"X"',
+ id = 'g:.X',
}
TEST [[
local x
print(x.y.<?z?>)
]] {
- id = 'l:7|"y"|"z"',
+ id = 'l:7|.y|.z',
}
TEST [[
local x
function x:<?f?>() end
]] {
- id = 'l:7|"f"',
+ id = 'l:7|.f',
}
TEST [[
print(X.Y.<?Z?>)
]] {
- id = 'g:"X"|"Y"|"Z"',
+ id = 'g:.X|.Y|.Z',
}
TEST [[
function x:<?f?>() end
]] {
- id = 'g:"x"|"f"',
+ id = 'g:.x|.f',
}
TEST [[
@@ -114,13 +114,13 @@ TEST [[
<?x?> = 1,
}
]] {
- id = 't:1|"x"',
+ id = 't:1|.x',
}
TEST [[
return <?X?>
]] {
- id = 'g:"X"',
+ id = 'g:.X',
}
TEST [[
@@ -128,7 +128,7 @@ function f()
return <?X?>
end
]] {
- id = 'g:"X"',
+ id = 'g:.X',
}
TEST [[