summaryrefslogtreecommitdiff
path: root/test/fixers/test_html_beautify_fixer_callback.vader
blob: 05e10a36a9c730c2bbe9851f66f2582b8ec94f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Before:
  call ale#assert#SetUpFixerTest('html', 'html-beautify', 'beautify')

  call ale#test#SetDirectory('/testplugin/test/fixers')
  silent cd ..
  silent cd command_callback

After:
  Restore

  call ale#assert#TearDownFixerTest()

Execute(The html-beautify callback should return the correct default command):
  AssertEqual
  \ {'command': '''html-beautify''  -'},
  \ ale#fixers#html_beautify#Fix(bufnr(''))