summaryrefslogtreecommitdiff
path: root/test/fixers/test_html_beautify_fixer_callback.vader
blob: 372572e42d604cffa4b791058692b782ee01e4f9 (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': ale#Escape('html-beautify') . '  -'},
  \ ale#fixers#html_beautify#Fix(bufnr(''))