FreeKill/test/lua/run.lua

15 lines
286 B
Lua
Raw Permalink Normal View History

-- Run tests with `lua5.4 test/lua/run.lua`
---@diagnostic disable: lowercase-global
package.path = package.path .. ";./test/lua/lib/?.lua"
lu = require('luaunit')
local os = os
fk = require('fk')
dofile 'lua/freekill.lua'
dofile 'test/lua/pattern.lua'
os.exit( lu.LuaUnit.run() )