summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorGonzalo Quero <gquero@drwuk.com>2020-11-23 10:21:09 +0000
committerGonzalo Quero <gquero@drwuk.com>2020-11-23 10:21:09 +0000
commit7e9d4fbfc820ae4198b07b204295fc3acd391209 (patch)
tree2f79b153cc581ae935f9e158fe70a2af23f6f581 /test/command_callback
parent491ceacb64f7be6c4e36fd6586af22adfd6a309e (diff)
downloadale-7e9d4fbfc820ae4198b07b204295fc3acd391209.zip
refactor: Move test to the right file
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_elixir_credo.vader7
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'