From 89a0037be94affd8fb3cbbf55c49fc5a1e7203d4 Mon Sep 17 00:00:00 2001 From: Garfield Date: Mon, 16 Nov 2026 19:22:43 +0800 Subject: [PATCH] =?UTF-8?q?:truck:=20(layout):=20=E4=B9=A6=E6=BA=90?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=BB=9F=E4=B8=80=E6=94=B6=E8=BF=9B=20src/?= =?UTF-8?q?=20=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 测试运行器与网页验证用例的路径同步调整。 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tests/shuqi/web_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/shuqi/web_spec.lua b/tests/shuqi/web_spec.lua index 2e32502..a7217bf 100644 --- a/tests/shuqi/web_spec.lua +++ b/tests/shuqi/web_spec.lua @@ -6,7 +6,7 @@ local Assert = require("support.assert") local status = os.execute("command -v node >/dev/null 2>&1") if status ~= 0 and status ~= true then Assert.skip("需要 Node 运行网页脚本回归") end local here = debug.getinfo(1, "S").source:match("^@(.+)/[^/]+$") or "." -local root = here .. "/../.." +local root = here .. "/../../src" local pipe = assert(io.popen('node "' .. here .. '/web_spec.js" "' .. root .. '" 2>&1')) local output = pipe:read("*a") pipe:close()