diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-01 20:23:41 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-01 20:23:41 +0100 |
commit | 5091e2de452e493678e236c92b2ca5bb7bc29653 (patch) | |
tree | 4fa1e0a06568a6592ce82e0cdc9660d08cc52cdb /test/fixers/test_elm_format_fixer_callback.vader | |
parent | 638ca4208232ab7abe46efa5052403e58dcfc35a (diff) | |
download | ale-5091e2de452e493678e236c92b2ca5bb7bc29653.zip |
Get fixer tests to work on Windows
Diffstat (limited to 'test/fixers/test_elm_format_fixer_callback.vader')
-rw-r--r-- | test/fixers/test_elm_format_fixer_callback.vader | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/fixers/test_elm_format_fixer_callback.vader b/test/fixers/test_elm_format_fixer_callback.vader index b8b9ed00..8552c5d5 100644 --- a/test/fixers/test_elm_format_fixer_callback.vader +++ b/test/fixers/test_elm_format_fixer_callback.vader @@ -15,7 +15,7 @@ Execute(The elm-format command should have default params): \ { \ 'read_temporary_file': 1, \ 'command': - \ ale#Escape(simplify(g:dir . '/../elm-test-files/node_modules/.bin/elm-format')) + \ ale#Escape(ale#path#Winify(g:dir . '/../elm-test-files/node_modules/.bin/elm-format')) \ . ' %t --yes', \ }, \ ale#fixers#format#Fix(bufnr('')) @@ -55,7 +55,7 @@ Execute(The elm-format command should manage empty options): \ { \ 'read_temporary_file': 1, \ 'command': - \ ale#Escape(simplify(g:dir . '/../elm-test-files/node_modules/.bin/elm-format')) + \ ale#Escape(ale#path#Winify(g:dir . '/../elm-test-files/node_modules/.bin/elm-format')) \ . ' %t', \ }, \ ale#fixers#format#Fix(bufnr('')) @@ -68,8 +68,7 @@ Execute(The elm-format command should manage custom options): \ { \ 'read_temporary_file': 1, \ 'command': - \ ale#Escape(simplify(g:dir . '/../elm-test-files/node_modules/.bin/elm-format')) + \ ale#Escape(ale#path#Winify(g:dir . '/../elm-test-files/node_modules/.bin/elm-format')) \ . ' %t --param1 --param2', \ }, \ ale#fixers#format#Fix(bufnr('')) - |