🚚 (layout): 书源插件统一收进 src/ 目录
测试运行器与网页验证用例的路径同步调整。 Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
43d4fcfabc
commit
a228cb92dd
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
--]]
|
--]]
|
||||||
local Assert = require("support.assert")
|
local Assert = require("support.assert")
|
||||||
local here = debug.getinfo(1, "S").source:match("^@(.+)/[^/]+$") or "."
|
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 pipe = assert(io.popen('node "' .. here .. '/web_spec.js" "' .. root .. '" 2>&1'))
|
||||||
local output = pipe:read("*a")
|
local output = pipe:read("*a")
|
||||||
pipe:close()
|
pipe:close()
|
||||||
|
|||||||
Reference in new issue
Block a user