mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-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
20 lines
501 B
Plaintext
20 lines
501 B
Plaintext
Before:
|
|
call ale#test#SetDirectory('/testplugin/test')
|
|
|
|
After:
|
|
call ale#test#RestoreDirectory()
|
|
|
|
Execute(ale#python#UvPresent is true when a uv environment is present):
|
|
call ale#test#SetFilename('test-files/python/uv/whatever.py')
|
|
|
|
AssertEqual
|
|
\ ale#python#UvPresent(bufnr('%')),
|
|
\ 1
|
|
|
|
Execute(ale#python#UvPresent is false when no uv environment is present):
|
|
call ale#test#SetFilename('test-files/python/no_uv/whatever.py')
|
|
|
|
AssertEqual
|
|
\ ale#python#UvPresent(bufnr('%')),
|
|
\ 0
|