summaryrefslogtreecommitdiff
path: root/test/test_lint_error_delay.vader
blob: 32d8271571a505adab1aa99bb3b8a1d1efd3d71f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()