diff --git a/spec/04-term_spec.lua b/spec/04-term_spec.lua index 86ea37d..409eec1 100644 --- a/spec/04-term_spec.lua +++ b/spec/04-term_spec.lua @@ -37,7 +37,7 @@ describe("Terminal:", function() -- print("result: ", result) - return assert(load("return " .. result))() + return assert(require("pl.compat").load("return " .. result))() end