diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-01-20 08:42:45 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 08:42:45 +0900 |
commit | bfc412a77ba108b1529f48548def8b0ab56e95a1 (patch) | |
tree | 3bf23d5189a2abde328b02f84063c6845d43fd59 /test | |
parent | 9387ccfbc57f34f9fdc6af85cd0dbddf5ee8c5ae (diff) | |
parent | 7e9d4fbfc820ae4198b07b204295fc3acd391209 (diff) | |
download | ale-bfc412a77ba108b1529f48548def8b0ab56e95a1.zip |
Merge pull request #3455 from Thau/feat/credo_config_file
feat: Adds variable to use custom config file with Elixir Credo
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_elixir_credo.vader | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command_callback/test_elixir_credo.vader b/test/command_callback/test_elixir_credo.vader index 3eb88846..b14444c6 100644 --- a/test/command_callback/test_elixir_credo.vader +++ b/test/command_callback/test_elixir_credo.vader @@ -38,3 +38,10 @@ Execute(Builds credo command with suggest mode when set to 0): AssertLinter 'mix', \ ale#path#CdString(ale#path#Simplify(g:dir . '/elixir_paths/mix_project')) \ . 'mix help credo && mix credo suggest --format=flycheck --read-from-stdin %s' + +Execute(Builds credo command with a custom config file): + let g:ale_elixir_credo_config_file = '/home/user/custom_credo.exs' + + AssertLinter 'mix', + \ ale#path#CdString(ale#path#Simplify(g:dir . '/elixir_paths/mix_project')) + \ . 'mix help credo && mix credo suggest --config-file /home/user/custom_credo.exs --format=flycheck --read-from-stdin %s' |