diff options
author | Rafał Cieślak <ravicious@gmail.com> | 2019-01-19 22:04:41 +0100 |
---|---|---|
committer | Rafał Cieślak <ravicious@gmail.com> | 2019-01-19 22:22:10 +0100 |
commit | 9c0c6efbd041466361b470aaaef9a0297a89a03c (patch) | |
tree | cd20f9f3dc9b65286194761af5bfb8d8ddc95d04 /test/command_callback/test_elm_make_command_callback.vader | |
parent | d1fc084b2d3af6dd9807a01a6ca7822af6c2a78f (diff) | |
download | ale-9c0c6efbd041466361b470aaaef9a0297a89a03c.zip |
Pass --compiler flag to elm-test when linting 0.19 tests
This makes elm make linter work when elm is not installed globally.
Diffstat (limited to 'test/command_callback/test_elm_make_command_callback.vader')
-rw-r--r-- | test/command_callback/test_elm_make_command_callback.vader | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/command_callback/test_elm_make_command_callback.vader b/test/command_callback/test_elm_make_command_callback.vader index 02b2d76c..7ad439f9 100644 --- a/test/command_callback/test_elm_make_command_callback.vader +++ b/test/command_callback/test_elm_make_command_callback.vader @@ -22,7 +22,8 @@ Execute(should get elm-test executable for test code with elm >= 0.19): AssertLinter g:executable, \ 'cd ' . ale#Escape(ale#path#Simplify(g:dir . '/../elm-test-files/newapp')) . ' && ' - \ . ale#Escape(g:executable) . ' make --report=json --output=/dev/null %t' + \ . ale#Escape(g:executable) . ' make --report=json --output=/dev/null --compiler ' + \ . ale#path#Simplify(g:dir . '/../elm-test-files/newapp/node_modules/.bin/elm') . ' %t' Execute(should fallback to elm executable with elm >= 0.19): call ale#test#SetFilename('../elm-test-files/newapp-notests/tests/TestMain.elm') |