This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/command_callback/test_gosimple_command_callback.vader

13 lines
325 B
Text
Raw Normal View History

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(''))