2018-03-19 11:34:47 -04:00
|
|
|
Before:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#SetUpLinterTest('go', 'gosimple')
|
2018-03-19 11:34:47 -04:00
|
|
|
call ale#test#SetFilename('../go_files/testfile2.go')
|
|
|
|
|
|
|
|
After:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2018-03-19 11:34:47 -04:00
|
|
|
|
|
|
|
Execute(The default gosimple command should be correct):
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'gosimple',
|
|
|
|
\ 'cd ' . ale#Escape(expand('%:p:h')) . ' && gosimple .'
|