Fix #468 - Add a cool down period for when things go wrong

This commit is contained in:
w0rp committed 2017-08-09 00:05:55 +01:00
1 parent ac8cc6d991
commit 670858f774
3 files changed
+82 -17

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
Before:
Save g:ale_filetype_blacklist
" Delete some variable which should be defined.
unlet! g:ale_filetype_blacklist
After:
Restore
call ale#ResetErrorDelays()
Execute(ALE should stop queuing for a while after exceptions are thrown):
AssertThrows call ale#Queue(100)
call ale#Queue(100)
Execute(ALE should stop linting for a while after exceptions are thrown):
AssertThrows call ale#Lint()
call ale#Lint()