summaryrefslogtreecommitdiff
path: root/test/command_callback/test_gosimple_command_callback.vader
blob: a0b1f4686b0f02884b41ec6b3a47c2ae58acb50d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Before:
  runtime ale_linters/go/gosimple.vim
  call ale#test#SetFilename('../go_files/testfile2.go')

After:
  call ale#linter#Reset()

Execute(The default gosimple command should be correct):
  AssertEqual 'cd ' . ale#Escape(expand('%:p:h')) . ' && '
  \ . ' gosimple .',
  \ ale_linters#go#gosimple#GetCommand(bufnr(''))