diff options
Diffstat (limited to 'test/test_lint_error_delay.vader')
-rw-r--r-- | test/test_lint_error_delay.vader | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/test_lint_error_delay.vader b/test/test_lint_error_delay.vader index 7f081794..05664899 100644 --- a/test/test_lint_error_delay.vader +++ b/test/test_lint_error_delay.vader @@ -1,11 +1,13 @@ Before: - Save g:ale_filetype_blacklist + runtime autoload/ale.vim - " Delete some variable which should be defined. - unlet! g:ale_filetype_blacklist + " Replace one of the key ALE functions and make it throw. + function! ale#FileTooLarge() abort + throw 'broken' + endfunction After: - Restore + runtime autoload/ale.vim call ale#ResetErrorDelays() |