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_sasslint_command_callback.vader

13 lines
385 B
Text
Raw Normal View History

Before:
call ale#test#SetDirectory('/testplugin/test/command_callback')
call ale#test#SetFilename('test.sass')
After:
call ale#test#RestoreDirectory()
Execute(The default sasslint command should be correct):
AssertEqual
\ 'cd ' . ale#Escape(expand('%:p:h')) . ' && '
\ . ale#Escape('sass-lint') . ' -v -q -f compact %t',
\ ale#handlers#sasslint#GetCommand(bufnr(''))