summaryrefslogtreecommitdiff
path: root/test/command_callback/test_proto_command_callback.vader
blob: 2730bb84fb420d4d7017ef09cffbb84581e8076c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Before:
  call ale#test#SetDirectory('/testplugin/test/command_callback')
  call ale#test#SetFilename('test.proto')

After:
  Restore

  call ale#test#RestoreDirectory()
  call ale#linter#Reset()

Execute(The default command should be correct):

  AssertEqual
  \ 'protoc' . ' -I ' . ale#Escape(getcwd()) . ' --lint_out=. ' . '%s',
  \ ale_linters#proto#protoc_gen_lint#GetCommand(bufnr(''))