summaryrefslogtreecommitdiff
path: root/test/fixers/test_elixir_fixer_callback.vader
blob: ff4786e76b599cb6edf3834f87d9a3b0481c7145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Before:
  call ale#test#SetDirectory('/testplugin/test/fixers')

After:
  call ale#test#RestoreDirectory()

Execute(The executable path should be correct):
  call ale#test#SetFilename('../elixir-test-files/testfile.ex')

  AssertEqual
  \ {
  \   'read_temporary_file': 1,
  \   'command': 'mix format'
  \     . ' %t',
  \ },
  \ ale#fixers#elixir#Fix(bufnr(''))