summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/fixers/test_isort_fixer_callback.vader2
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(''))