blob: 3c6e99cec3efb0eb7ea5c70b583602870d9fab23 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Before:
Save g:ale_proselint_executable
runtime autoload/ale/proselint.vim
After:
Restore
Execute(Default executable should be detected correctly):
AssertEqual
\ 'proselint',
\ ale#proselint#GetExecutable(bufnr(''))
Execute(User specified executable should override default):
let g:ale_proselint_executable = '/path/to/proselint-bin'
AssertEqual
\ '/path/to/proselint-bin',
\ ale#proselint#GetExecutable(bufnr(''))
|