All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 call ale#test#SetDirectory('/testplugin/test/handler')
3 call ale#test#SetFilename('testfile.less')
5 runtime ale_linters/less/lessc.vim
8 call ale#test#RestoreDirectory()
9 call ale#linter#Reset()
11 Execute(The lessc handler should handle errors for the current file correctly):
18 \ 'text': 'Unrecognised input. Possibly missing something',
21 \ ale_linters#less#lessc#Handle(bufnr(''), [
22 \ 'ParseError: Unrecognised input. Possibly missing something in - on line 2, column 1:',
27 Execute(The lessc handler should handle errors for other files in the same directory correctly):
34 \ 'text': 'Unrecognised input. Possibly missing something',
35 \ 'filename': ale#path#Simplify(g:dir . '/imported.less')
41 \ 'text': 'Unrecognised input. Possibly missing something',
42 \ 'filename': ale#path#Simplify(g:dir . '/imported.less')
45 \ ale_linters#less#lessc#Handle(bufnr(''), [
46 \ 'ParseError: Unrecognised input. Possibly missing something in imported.less on line 2, column 1:',
49 \ 'ParseError: Unrecognised input. Possibly missing something in ./imported.less on line 2, column 1:',
54 Execute(The lessc handler should handle errors for files in directories above correctly):
61 \ 'text': 'Unrecognised input. Possibly missing something',
62 \ 'filename': ale#path#Simplify(g:dir . '/../imported2.less')
65 \ ale_linters#less#lessc#Handle(bufnr(''), [
66 \ 'ParseError: Unrecognised input. Possibly missing something in ../imported2.less on line 2, column 1:',