summaryrefslogtreecommitdiff
path: root/test/fixers/test_prettier_eslint_fixer.callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixers/test_prettier_eslint_fixer.callback.vader')
-rw-r--r--test/fixers/test_prettier_eslint_fixer.callback.vader12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fixers/test_prettier_eslint_fixer.callback.vader b/test/fixers/test_prettier_eslint_fixer.callback.vader
index be8f04e3..9bd6baf7 100644
--- a/test/fixers/test_prettier_eslint_fixer.callback.vader
+++ b/test/fixers/test_prettier_eslint_fixer.callback.vader
@@ -73,8 +73,8 @@ Execute(The new --stdin-filepath option should be used when the version is new e
GivenCommandOutput ['4.4.0']
AssertFixer
\ {
- \ 'command': ale#path#BufferCdString(bufnr(''))
- \ . ale#Escape('prettier-eslint')
+ \ 'cwd': '%s:h',
+ \ 'command': ale#Escape('prettier-eslint')
\ . ' --eslint-config-path ' . ale#Escape(ale#path#Simplify(g:dir . '/eslint-test-files/react-app/.eslintrc.js'))
\ . ' --stdin-filepath %s --stdin',
\ }
@@ -83,15 +83,15 @@ Execute(The version number should be cached):
GivenCommandOutput ['4.4.0']
AssertFixer
\ {
- \ 'command': ale#path#BufferCdString(bufnr(''))
- \ . ale#Escape('prettier-eslint')
+ \ 'cwd': '%s:h',
+ \ 'command': ale#Escape('prettier-eslint')
\ . ' --stdin-filepath %s --stdin',
\ }
GivenCommandOutput []
AssertFixer
\ {
- \ 'command': ale#path#BufferCdString(bufnr(''))
- \ . ale#Escape('prettier-eslint')
+ \ 'cwd': '%s:h',
+ \ 'command': ale#Escape('prettier-eslint')
\ . ' --stdin-filepath %s --stdin',
\ }