summaryrefslogtreecommitdiff
path: root/test/test_backwards_compatibility.vader
blob: e0e52bd49aa71aed9054d20e4643059887f7b0a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" These tests, and the code that it covers, may be removed upon a major release.

After:
  unlet! g:ale_linters_sh_shellcheck_exclusions
  unlet! g:ale_sh_shellcheck_exclusions
  unlet! g:ale_linters_sh_shell_default_shell
  unlet! g:ale_sh_shell_default_shell

Execute(Old variable name for the 'shellcheck' linter should still work):
  let g:ale_linters_sh_shellcheck_exclusions = 'SC1234'
  runtime autoload/ale/handlers/shellcheck.vim

  AssertEqual 'SC1234', g:ale_sh_shellcheck_exclusions

Execute (Old variable name for the 'shell' linter should still work):
  let g:ale_linters_sh_shell_default_shell = 'woosh'
  runtime ale_linters/sh/shell.vim

  AssertEqual 'woosh', g:ale_sh_shell_default_shell