diff options
author | w0rp <devw0rp@gmail.com> | 2020-08-28 17:46:43 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2020-08-28 17:46:43 +0100 |
commit | 3d5a2690ce707cbc9e71e8ed4d5d1955e4b26d65 (patch) | |
tree | 3ff7e13bb0cd6fd13ef4eae739230b40f0c490de /test/fixers/test_prettier_eslint_fixer.callback.vader | |
parent | 34e409ea21baa017776b84ec0620eea9f6ec429c (diff) | |
download | ale-3d5a2690ce707cbc9e71e8ed4d5d1955e4b26d65.zip |
#3325 - ale#path#BufferCdString now generates %s:h
Diffstat (limited to 'test/fixers/test_prettier_eslint_fixer.callback.vader')
-rw-r--r-- | test/fixers/test_prettier_eslint_fixer.callback.vader | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixers/test_prettier_eslint_fixer.callback.vader b/test/fixers/test_prettier_eslint_fixer.callback.vader index f7bb3c61..be8f04e3 100644 --- a/test/fixers/test_prettier_eslint_fixer.callback.vader +++ b/test/fixers/test_prettier_eslint_fixer.callback.vader @@ -73,7 +73,7 @@ Execute(The new --stdin-filepath option should be used when the version is new e GivenCommandOutput ['4.4.0'] AssertFixer \ { - \ 'command': ale#path#CdString(expand('%:p:h')) + \ 'command': ale#path#BufferCdString(bufnr('')) \ . 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,7 +83,7 @@ Execute(The version number should be cached): GivenCommandOutput ['4.4.0'] AssertFixer \ { - \ 'command': ale#path#CdString(expand('%:p:h')) + \ 'command': ale#path#BufferCdString(bufnr('')) \ . ale#Escape('prettier-eslint') \ . ' --stdin-filepath %s --stdin', \ } @@ -91,7 +91,7 @@ Execute(The version number should be cached): GivenCommandOutput [] AssertFixer \ { - \ 'command': ale#path#CdString(expand('%:p:h')) + \ 'command': ale#path#BufferCdString(bufnr('')) \ . ale#Escape('prettier-eslint') \ . ' --stdin-filepath %s --stdin', \ } |