Fixed CI
This commit is contained in:
parent
9c28129b11
commit
169581a048
|
@ -82,9 +82,11 @@ describe("cc.require", function()
|
|||
|
||||
it("uses shell.package_path for package loading", function()
|
||||
setup("test-files/some_module.lua", "return 123")
|
||||
local old_path = settings.get("shell.package_path")
|
||||
settings.set("shell.package_path", "/test_files/?.lua")
|
||||
local require, package = mk()
|
||||
expect(require("some_module")):eq(123)
|
||||
settings.set("shell.package_path", old_path)
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue