summaryrefslogtreecommitdiff
path: root/server/test/vm/example.lua
blob: 459545fd9931db47d38dd92cb9bd364365a7ffac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
local fs = require 'bee.filesystem'

TEST(io.load(ROOT / 'src' / 'core' / 'vm.lua'))

-- 临时
local function testIfExit(path)
    local buf = io.load(fs.path(path))
    if buf then
        TEST(buf)
    end
end
testIfExit[[D:\Github\lua\testes\constructs.lua]]