summaryrefslogtreecommitdiff
path: root/test/fixers/test_htmlbeautifier_fixer_callback.vader
blob: e54bab978c7a971f7291da6506391c08ffe11fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Before:
  call ale#assert#SetUpFixerTest('eruby', 'htmlbeautifier')

After:
  call ale#assert#TearDownFixerTest()

Execute(The htmlbeautifier callback should return the correct default values):
  AssertFixer {
  \    'command': ale#Escape('htmlbeautifier') . ' %t',
  \    'read_temporary_file': 1,
  \}

Execute(The htmlbeautifier callback should allow custom htmlbeautifier executables):
  let g:ale_eruby_htmlbeautifier_executable = 'foo/bar'

  AssertFixer {
  \    'command': ale#Escape('foo/bar') . ' %t',
  \    'read_temporary_file': 1,
  \}