mirror of
https://github.com/lune-org/lune.git
synced 2024-12-14 06:00:42 +00:00
27 lines
652 B
Lua
27 lines
652 B
Lua
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")
|
|
|
|
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))
|