diff --git a/tests/kuaikan/web_spec.lua b/tests/kuaikan/web_spec.lua index f7b0fdf..3cc5521 100644 --- a/tests/kuaikan/web_spec.lua +++ b/tests/kuaikan/web_spec.lua @@ -4,7 +4,7 @@ --]] local Assert = require("support.assert") 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()