1
1
Fork 0
mirror of https://github.com/lune-org/lune.git synced 2025-04-12 14:30:53 +01:00
lune/tests/globals/warn.luau

5 lines
167 B
Text

assert(warn ~= nil, "Missing 'warn' global")
assert(
type(warn) == "function",
string.format("Global 'warn' should be a function, got '%s'", tostring(type(warn)))
)