Skip to content

Commit

Permalink
fix Lua 5.1 load
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Mar 24, 2024
1 parent 32b4f3d commit 90e88e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/04-term_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("Terminal:", function()

-- print("result: ", result)

return assert(load("return " .. result))()
return assert(require("pl.compat").load("return " .. result))()
end


Expand Down

0 comments on commit 90e88e2

Please sign in to comment.