diff options
author | Héctor Ramón Jiménez <hector0193@gmail.com> | 2018-05-11 19:15:40 +0200 |
---|---|---|
committer | Héctor Ramón Jiménez <hector0193@gmail.com> | 2018-05-11 19:15:40 +0200 |
commit | d40f44793194ca383a72426738f5a411682bb241 (patch) | |
tree | 42e661814ee63583d0ab92df4aad4a399cdbfbf9 /test/test_elm_executable_detection.vader | |
parent | 38c66d33fe8022803497c49239b06112ccbd0a83 (diff) | |
download | ale-d40f44793194ca383a72426738f5a411682bb241.zip |
Upgrade Elm linter to support 0.19 error reports
Diffstat (limited to 'test/test_elm_executable_detection.vader')
-rw-r--r-- | test/test_elm_executable_detection.vader | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/test_elm_executable_detection.vader b/test/test_elm_executable_detection.vader index 4227cbfa..c17d1bbc 100644 --- a/test/test_elm_executable_detection.vader +++ b/test/test_elm_executable_detection.vader @@ -3,8 +3,8 @@ Before: runtime ale_linters/elm/make.vim After: - unlet! g:ale_elm_make_use_global - unlet! g:ale_elm_make_executable + unlet! g:ale_elm_use_global + unlet! g:ale_elm_executable call ale#test#RestoreDirectory() @@ -12,25 +12,25 @@ Execute(should get valid executable with default params): call ale#test#SetFilename('elm-test-files/app/testfile.elm') AssertEqual - \ ale#path#Simplify(g:dir . '/elm-test-files/app/node_modules/.bin/elm-make'), + \ ale#path#Simplify(g:dir . '/elm-test-files/app/node_modules/.bin/elm'), \ ale_linters#elm#make#GetExecutable(bufnr('')) Execute(should get valid executable with 'use_global' params): - let g:ale_elm_make_use_global = 1 + let g:ale_elm_use_global = 1 call ale#test#SetFilename('elm-test-files/app/testfile.elm') AssertEqual - \ 'elm-make', + \ 'elm', \ ale_linters#elm#make#GetExecutable(bufnr('')) Execute(should get valid executable with 'use_global' and 'executable' params): - let g:ale_elm_make_executable = 'other-elm-make' - let g:ale_elm_make_use_global = 1 + let g:ale_elm_executable = 'other-elm' + let g:ale_elm_use_global = 1 call ale#test#SetFilename('elm-test-files/app/testfile.elm') AssertEqual - \ 'other-elm-make', + \ 'other-elm', \ ale_linters#elm#make#GetExecutable(bufnr('')) |