summaryrefslogtreecommitdiff
path: root/test/command_callback/test_phpcs_command_callback.vader
diff options
context:
space:
mode:
authormatthias <SuRaMoN@users.noreply.github.com>2018-08-18 20:59:35 +0200
committermatthias <SuRaMoN@users.noreply.github.com>2018-08-18 20:59:35 +0200
commitf82ab768333d677f692d6301230c55108bf66d40 (patch)
treec23a5925411674cc9b74fd964bba49c4bf05ca6a /test/command_callback/test_phpcs_command_callback.vader
parent02fdfcda58857855d80ddb6eb3a26b3bc36ccbb0 (diff)
downloadale-f82ab768333d677f692d6301230c55108bf66d40.zip
Added and fixed tests
Diffstat (limited to 'test/command_callback/test_phpcs_command_callback.vader')
-rw-r--r--test/command_callback/test_phpcs_command_callback.vader6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command_callback/test_phpcs_command_callback.vader b/test/command_callback/test_phpcs_command_callback.vader
index 941a92d6..e5d2f449 100644
--- a/test/command_callback/test_phpcs_command_callback.vader
+++ b/test/command_callback/test_phpcs_command_callback.vader
@@ -27,3 +27,9 @@ Execute(Projects without local executables should use the global one):
AssertLinter 'phpcs',
\ ale#Escape('phpcs') . ' -s --report=emacs --stdin-path=%s'
+
+Execute(User provided options are used):
+ let g:ale_php_phpcs_options = '--my-user-provided-option my-value'
+
+ AssertLinter 'phpcs',
+ \ ale#Escape('phpcs') . ' -s --report=emacs --stdin-path=%s --my-user-provided-option my-value'