fix(tests): fix ale_c_build_dir_names being unset in tests (#5109)
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--lua-only) (push) Has been cancelled
CI / test_ale (--neovim-07-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled

- Use ale#Set() to set the ale_c_build_dir_names variable.
- Ensure SetUpLinterTest() is called before any Save commands in tests.
- Add c.vim to runtime before non-linter tests are executed.
- Remove workarounds in c.vim.
This commit is contained in:
Horacio Sanson authored and GitHub committed 2026-03-29 11:03:19 +09:00
1 parent 90d8f8d2d2
commit 7940a46d5a
7 files changed
+15 -25

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
Before:
runtime autoload/ale/c.vim
Save g:ale_c_build_dir_names
call ale#test#SetDirectory('/testplugin/test')