2018-03-19 15:34:47 +00:00
|
|
|
Before:
|
2018-07-15 18:24:53 +01:00
|
|
|
call ale#assert#SetUpLinterTest('go', 'gosimple')
|
2018-03-19 15:34:47 +00:00
|
|
|
call ale#test#SetFilename('../go_files/testfile2.go')
|
|
|
|
|
|
|
|
After:
|
2018-07-15 18:24:53 +01:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2018-03-19 15:34:47 +00:00
|
|
|
|
|
|
|
Execute(The default gosimple command should be correct):
|
2018-07-15 18:24:53 +01:00
|
|
|
AssertLinter 'gosimple',
|
2018-10-23 23:20:27 +09:00
|
|
|
\ ale#path#CdString(expand('%:p:h')) . ' gosimple .'
|