summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-01-27 12:36:22 +0000
committerGitHub <noreply@github.com>2019-01-27 12:36:22 +0000
commita7b3b84899ba8752b4db91aff3b9a1b7a7a6fd83 (patch)
tree2d70a7a24cc945c7fefa0775a589cc569134823c /test/command_callback
parent03b25dd39b40198f7d8e133ad6b59b25c41e2425 (diff)
parent9c0c6efbd041466361b470aaaef9a0297a89a03c (diff)
downloadale-a7b3b84899ba8752b4db91aff3b9a1b7a7a6fd83.zip
Merge pull request #2225 from ravicious/master
Pass --compiler flag to elm-test when linting 0.19 tests
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_elm_make_command_callback.vader3
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')