diff --git a/autoload/ale/test.vim b/autoload/ale/test.vim index 346786c..5fe4bed 100644 --- a/autoload/ale/test.vim +++ b/autoload/ale/test.vim @@ -19,7 +19,7 @@ function! ale#test#SetDirectory(docker_path) abort " Try to switch directory, which will fail when running tests directly, " and not through the Docker image. silent! execute 'cd ' . fnameescape(a:docker_path) - let g:dir = getcwd() + let g:dir = getcwd() " no-custom-checks endfunction " When g:dir is defined, switch back to the directory we saved, and then @@ -43,7 +43,7 @@ function! ale#test#SetFilename(path) abort let l:dir = get(g:, 'dir', '') if empty(l:dir) - let l:dir = getcwd() + let l:dir = getcwd() " no-custom-checks endif let l:full_path = ale#path#IsAbsolute(a:path) diff --git a/test/script/custom-checks b/test/script/custom-checks index 3624ffd..a1a734d 100755 --- a/test/script/custom-checks +++ b/test/script/custom-checks @@ -85,6 +85,7 @@ check_errors 'let g:ale_\w\+_\w\+_args =' 'Name your option g:ale__