diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-01-27 20:24:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 20:24:26 +0900 |
commit | c9f4005820092c7824a35f1d62ae0dc93e474815 (patch) | |
tree | 5b7ed8ea60e630d787353921bc47a5f64a201de0 /test | |
parent | cab4280d02f0297ae10ab0611778389c7a5766ae (diff) | |
parent | 105bc5569550925af3b5f679145e1a13e0840344 (diff) | |
download | ale-c9f4005820092c7824a35f1d62ae0dc93e474815.zip |
Merge pull request #3425 from pinicarus/custom-dialyzer-options
Custom erlang/dialyzer options
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_erlang_dialyzer_command_callback.vader | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command_callback/test_erlang_dialyzer_command_callback.vader b/test/command_callback/test_erlang_dialyzer_command_callback.vader index 5e21c053..5e818d7f 100644 --- a/test/command_callback/test_erlang_dialyzer_command_callback.vader +++ b/test/command_callback/test_erlang_dialyzer_command_callback.vader @@ -25,6 +25,14 @@ Execute(The command should accept configured executable.): \ . ' -Wunderspecs' \ . ' %s' +Execute(The command should accept configured options.): + let b:ale_erlang_dialyzer_options = '-r ' . expand('$HOME') + AssertLinter 'dialyzer', + \ ale#Escape('dialyzer') + \ . ' -n --plt ' . ale#Escape(expand('$HOME/.dialyzer_plt')) + \ . ' -r ' . expand('$HOME') + \ . ' %s' + Execute(The command should accept configured PLT file.): let b:ale_erlang_dialyzer_plt_file = 'custom-plt' AssertLinter 'dialyzer', |