From a694873f15841e7138228b92f1fb28d8f4756900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 4 Jan 2022 16:55:03 +0800 Subject: fix diagnostic --- test/full/projects.lua | 2 +- test/full/self.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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() -- cgit v1.2.3