lune/tests/datetime/now.luau

8 lines
190 B
Lua
Raw Normal View History

local DateTime = require("@lune/datetime")
local TYPE = "DateTime"
local now = DateTime.now()
assert(typeof(now) == TYPE, `dateTime.now() should return a {TYPE}, returned {typeof(now)}`)