Skip to content

Commit c2afa3a

Browse files
authored
Merge pull request #431 from zbirenbaum/dev
Project refactor and first round of tests using mini.test
2 parents 228cd74 + 2cd99fb commit c2afa3a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+8319
-1191
lines changed

.luarc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"_workspace.ignoreDir": ["deps"]
3+
}

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Run all test files
2+
# test: deps/mini.nvim
3+
test:
4+
nvim --headless --noplugin -u ./scripts/minimal_init.lua -c "lua MiniTest.run()"
5+
6+
# Run test from file at `$FILE` environment variable
7+
test_file: deps/mini.nvim
8+
nvim --headless --noplugin -u ./scripts/minimal_init.lua -c "lua MiniTest.run_file('$(FILE)')"
9+
10+
# Download 'mini.nvim' to use its 'mini.test' testing module
11+
# deps/mini.nvim:
12+
# @mkdir deps
13+
# git clone --filter=blob:none https://github.com/echasnovski/mini.nvim $@

lua/copilot/api.lua

Lines changed: 0 additions & 245 deletions
This file was deleted.

0 commit comments

Comments
 (0)