xrforge-v2/src/test/main.lua

13 lines
349 B
Lua

local lust = require 'test/lust'
local describe, it, expect = lust.describe, lust.it, lust.expect
-- usage: https://github.com/bjornbytes/lust
require('test/plugin_diskscan')(lust)
if lust.errors == 0 then
print("✅ all tests passed")
else
print("[!] some tests failed")
print("errors: " .. lust.errors .. " :(")
end
os.exit(lust.errors)