xrforge-v2/src/test/main.lua

15 lines
389 B
Lua
Raw Normal View History

2026-07-23 21:34:09 +02:00
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)
2026-08-06 16:43:17 +02:00
require('test/plugin_xrfragment')(lust)
2026-07-23 21:34:09 +02:00
if lust.errors == 0 then
print("✅ all tests passed")
else
print("[!] some tests failed")
print("errors: " .. lust.errors .. " :(")
end
os.exit(lust.errors)