summaryrefslogtreecommitdiff
path: root/test/test_lint_error_delay.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_lint_error_delay.vader')
-rw-r--r--test/test_lint_error_delay.vader3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_lint_error_delay.vader b/test/test_lint_error_delay.vader
index 05664899..cf73b2c0 100644
--- a/test/test_lint_error_delay.vader
+++ b/test/test_lint_error_delay.vader
@@ -2,7 +2,7 @@ Before:
runtime autoload/ale.vim
" Replace one of the key ALE functions and make it throw.
- function! ale#FileTooLarge() abort
+ function! ale#FileTooLarge(buffer) abort
throw 'broken'
endfunction
@@ -11,6 +11,7 @@ After:
call ale#ResetErrorDelays()
+Given foobar(An empty file):
Execute(ALE should stop queuing for a while after exceptions are thrown):
AssertThrows call ale#Queue(100)
call ale#Queue(100)