diff options
author | Ivor Peles <ivorpeles@gmail.com> | 2020-11-25 17:51:27 -0500 |
---|---|---|
committer | Ivor Peles <ivorpeles@gmail.com> | 2020-11-25 17:51:27 -0500 |
commit | 713e53e3f64520b0501cb5d7b4c525946e6c7783 (patch) | |
tree | 24cc16c5430c9244ec86ce9a6bace133db46a51f /test | |
parent | 340e9660556b87fafb4b9665115bbdcf831c9bc3 (diff) | |
download | ale-713e53e3f64520b0501cb5d7b4c525946e6c7783.zip |
Ensure isort / pipenv test conforms to ALE coding standards
Diffstat (limited to 'test')
-rw-r--r-- | test/fixers/test_isort_fixer_callback.vader | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixers/test_isort_fixer_callback.vader b/test/fixers/test_isort_fixer_callback.vader index 76c8a4cb..3941f6dd 100644 --- a/test/fixers/test_isort_fixer_callback.vader +++ b/test/fixers/test_isort_fixer_callback.vader @@ -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') 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('')) |