summaryrefslogtreecommitdiff
path: root/server/test/vm/example.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/vm/example.lua')
-rw-r--r--server/test/vm/example.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/server/test/vm/example.lua b/server/test/vm/example.lua
deleted file mode 100644
index 9a2939b5..00000000
--- a/server/test/vm/example.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-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
- local clock = os.clock()
- for _ = 1, 10 do
- TEST(buf)
- end
- print('基准测试耗时:', os.clock() - clock)
- end
-end
---testIfExit(ROOT / 'test' / 'example' / 'vm.lua')