diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-04 16:55:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-04 16:55:03 +0800 |
commit | a694873f15841e7138228b92f1fb28d8f4756900 (patch) | |
tree | d6800b63bfefb00850f328bc2fd2206e40712480 /test | |
parent | 8d4cdc453a89077d7f5ed7ec96f1dacce4bc4f4d (diff) | |
download | lua-language-server-a694873f15841e7138228b92f1fb28d8f4756900.zip |
fix diagnostic
Diffstat (limited to 'test')
-rw-r--r-- | test/full/projects.lua | 2 | ||||
-rw-r--r-- | test/full/self.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/full/projects.lua b/test/full/projects.lua index 4a8ef62a..9531d01b 100644 --- a/test/full/projects.lua +++ b/test/full/projects.lua @@ -42,7 +42,7 @@ local function doProjects(pathname) print('开始诊断...') ws.ready = true - diag.start() + diag.diagnosticsScope(furi.encode(path:string())) local clock = os.clock() diff --git a/test/full/self.lua b/test/full/self.lua index 0c148a91..d0e74a80 100644 --- a/test/full/self.lua +++ b/test/full/self.lua @@ -29,7 +29,7 @@ end print('基准诊断目录:', path) ws.ready = true -diag.start() +diag.diagnosticsScope(furi.encode(path:string())) local clock = os.clock() |