summaryrefslogtreecommitdiff
path: root/test/full
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-04-17 16:06:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-04-17 16:06:19 +0800
commit87aa5816903444cd192b752a72bc3ca86e70fb63 (patch)
tree621b7c9df4d98ef86f6a5e172768767a48cac1da /test/full
parentf208589b5c840410dc2ceca057ca3ab4024ea4a1 (diff)
downloadlua-language-server-87aa5816903444cd192b752a72bc3ca86e70fb63.zip
修复测试
Diffstat (limited to 'test/full')
-rw-r--r--test/full/projects.lua2
-rw-r--r--test/full/self.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/full/projects.lua b/test/full/projects.lua
index 20ef6724..22b27443 100644
--- a/test/full/projects.lua
+++ b/test/full/projects.lua
@@ -23,7 +23,7 @@ local function doProjects(pathname)
print('基准诊断目录:', path)
fsu.scanDirectory(path, function (path)
- if path:extension():string() ~= '.lua' then
+ if path:extension() ~= '.lua' then
return
end
local uri = furi.encode(path:string())
diff --git a/test/full/self.lua b/test/full/self.lua
index d118e034..69da54a0 100644
--- a/test/full/self.lua
+++ b/test/full/self.lua
@@ -14,7 +14,7 @@ local uris = {}
files.reset()
fsu.scanDirectory(path, function (path)
- if path:extension():string() ~= '.lua' then
+ if path:extension() ~= '.lua' then
return
end
local uri = furi.encode(path:string())