From f82ab768333d677f692d6301230c55108bf66d40 Mon Sep 17 00:00:00 2001 From: matthias Date: Sat, 18 Aug 2018 20:59:35 +0200 Subject: Added and fixed tests --- test/command_callback/test_phpcs_command_callback.vader | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/command_callback') 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' -- cgit v1.2.3