summaryrefslogtreecommitdiff
path: root/test/command_callback/test_psalm_command_callbacks.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_psalm_command_callbacks.vader')
-rw-r--r--test/command_callback/test_psalm_command_callbacks.vader12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command_callback/test_psalm_command_callbacks.vader b/test/command_callback/test_psalm_command_callbacks.vader
new file mode 100644
index 00000000..4c31b7b4
--- /dev/null
+++ b/test/command_callback/test_psalm_command_callbacks.vader
@@ -0,0 +1,12 @@
+Before:
+ call ale#assert#SetUpLinterTest('php', 'psalm')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(Custom executables should be used for the executable and command):
+ let g:ale_php_psalm_executable = 'psalm_test'
+
+ AssertLinter 'psalm_test',
+ \ ale#Escape('psalm_test') . ' --diff --output-format=emacs %s'
+