summaryrefslogtreecommitdiff
path: root/test/fixers/test_yamlfmt_fixer_callback.vader
blob: 53604e4b1bba9c4893ba2165c853ccd08f834c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Before:
  call ale#assert#SetUpFixerTest('yaml', 'yamlfmt')

After:
  Restore

  call ale#assert#TearDownFixerTest()

Execute(The yamlfmt callback should return the correct default command):
  AssertEqual
  \ {'command': ale#Escape('yamlfmt') . '  -in'},
  \ ale#fixers#yamlfmt#Fix(bufnr(''))