summaryrefslogtreecommitdiff
path: root/test/fixers/test_vim_help_tags_alignment_fixer.vader
blob: 7e18a771c71629f1f7d052dbf6da65e2d8bc8200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Before:
  Save g:ale_fixers

After:
  Restore

Given help(A vim help file with badly aligned tags):
  foo      *foo*
  bar  *bar*
  baz            *bar*

Execute(Tags should be aligned at the right margin):
  let g:ale_fixers = {'help': ['align_help_tags']}
  ALEFix

Expect help(Tags should be aligned):
  foo                                                                       *foo*
  bar                                                                       *bar*
  baz                                                                       *bar*