summaryrefslogtreecommitdiff
path: root/test/command_callback/test_sasslint_command_callback.vader
blob: 1db7e5fb10a8ca05e9462fdaf9264af941ae41e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Before:
  call ale#test#SetDirectory('/testplugin/test/command_callback')
  call ale#test#SetFilename('test.sass')

After:
  call ale#test#RestoreDirectory()

Execute(The default sasslint command should be correct):
  AssertEqual
  \ 'cd ' . ale#Escape(expand('%:p:h')) . ' && '
  \   . ale#Escape('sass-lint') . ' -v -q -f compact %t',
  \ ale#handlers#sasslint#GetCommand(bufnr(''))