summaryrefslogtreecommitdiff
path: root/server/test/vm/example.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-31 17:05:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-31 17:05:41 +0800
commit92424baf13c2487145456e4062f9f4214f8b7bcd (patch)
tree0835f58c26c16cec0b2671e759ac70fcc2bc5c67 /server/test/vm/example.lua
parenta692d7b413e4aff34a2a714cc6aec9ad0b495b33 (diff)
downloadlua-language-server-92424baf13c2487145456e4062f9f4214f8b7bcd.zip
整理代码
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')