Ensure isort / pipenv test conforms to ALE coding standards

This commit is contained in:
Ivor Peles 2020-11-25 17:51:27 -05:00
parent 340e966055
commit 713e53e3f6

View file

@ -56,5 +56,5 @@ Execute(Pipenv is detected when python_isort_auto_pipenv is set):
call ale#test#SetFilename('/testplugin/test/python_fixtures/pipenv/whatever.py') call ale#test#SetFilename('/testplugin/test/python_fixtures/pipenv/whatever.py')
AssertEqual AssertEqual
\ {'command': 'cd %s:h && ' . ale#Escape('pipenv') . ' run isort -'}, \ {'command': ale#path#BufferCdString(bufnr('')) . ale#Escape('pipenv') . ' run isort -'},
\ ale#fixers#isort#Fix(bufnr('')) \ ale#fixers#isort#Fix(bufnr(''))