summaryrefslogtreecommitdiff
path: root/test/command_callback/test_erlang_dialyzer_command_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_erlang_dialyzer_command_callback.vader')
-rw-r--r--test/command_callback/test_erlang_dialyzer_command_callback.vader45
1 files changed, 0 insertions, 45 deletions
diff --git a/test/command_callback/test_erlang_dialyzer_command_callback.vader b/test/command_callback/test_erlang_dialyzer_command_callback.vader
deleted file mode 100644
index 5e818d7f..00000000
--- a/test/command_callback/test_erlang_dialyzer_command_callback.vader
+++ /dev/null
@@ -1,45 +0,0 @@
-Before:
- call ale#assert#SetUpLinterTest('erlang', 'dialyzer')
-
-After:
- call ale#assert#TearDownLinterTest()
-
-Execute(The default command should be correct.):
- AssertLinter 'dialyzer',
- \ ale#Escape('dialyzer')
- \ . ' -n --plt ' . ale#Escape(expand('$HOME/.dialyzer_plt'))
- \ . ' -Wunmatched_returns'
- \ . ' -Werror_handling'
- \ . ' -Wrace_conditions'
- \ . ' -Wunderspecs'
- \ . ' %s'
-
-Execute(The command should accept configured executable.):
- let b:ale_erlang_dialyzer_executable = '/usr/bin/dialyzer'
- AssertLinter '/usr/bin/dialyzer',
- \ ale#Escape('/usr/bin/dialyzer')
- \ . ' -n --plt ' . ale#Escape(expand('$HOME/.dialyzer_plt'))
- \ . ' -Wunmatched_returns'
- \ . ' -Werror_handling'
- \ . ' -Wrace_conditions'
- \ . ' -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',
- \ ale#Escape('dialyzer')
- \ . ' -n --plt ' . ale#Escape(expand('custom-plt'))
- \ . ' -Wunmatched_returns'
- \ . ' -Werror_handling'
- \ . ' -Wrace_conditions'
- \ . ' -Wunderspecs'
- \ . ' %s'