2023-05-14 21:16:58 +01:00
|
|
|
local fs = require("@lune/fs")
|
|
|
|
local net = require("@lune/net")
|
|
|
|
local process = require("@lune/process")
|
|
|
|
local stdio = require("@lune/stdio")
|
|
|
|
local task = require("@lune/task")
|
2023-03-21 14:06:28 +00:00
|
|
|
|
|
|
|
assert(type(fs.move) == "function")
|
|
|
|
assert(type(net.request) == "function")
|
|
|
|
assert(type(process.cwd) == "string")
|
|
|
|
assert(type(stdio.format("")) == "string")
|
|
|
|
assert(type(task.spawn(function() end)) == "thread")
|
|
|
|
|
|
|
|
assert(not pcall(function()
|
|
|
|
return require("@") :: any
|
|
|
|
end))
|
|
|
|
|
|
|
|
assert(not pcall(function()
|
|
|
|
return require("@lune") :: any
|
|
|
|
end))
|
|
|
|
|
|
|
|
assert(not pcall(function()
|
|
|
|
return require("@lune/") :: any
|
|
|
|
end))
|
|
|
|
|
|
|
|
assert(not pcall(function()
|
|
|
|
return require("@src") :: any
|
|
|
|
end))
|