diff options
author | Horacio Sanson <horacio@allm.net> | 2019-11-27 23:19:44 +0900 |
---|---|---|
committer | Horacio Sanson <horacio@allm.net> | 2019-11-27 23:19:44 +0900 |
commit | 8fbcba0091161fb537adf1dfc87555fd79e52eaf (patch) | |
tree | afa12f72ed55d908c46ab3f2dc9ab2a71ae61e9a /test/command_callback/test_checkstyle_command_callback.vader | |
parent | d8195e9276c27caabf173a268450a3420b53181a (diff) | |
download | ale-8fbcba0091161fb537adf1dfc87555fd79e52eaf.zip |
Fix 2913 - checkstyle config file ignored.
If checkstyle is configured with custom options that contain "-c" then
the checkstyle config file option is ignored. This PR modifies the
regular expression when creating the checkstyle command to avoid this.
Diffstat (limited to 'test/command_callback/test_checkstyle_command_callback.vader')
-rw-r--r-- | test/command_callback/test_checkstyle_command_callback.vader | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_checkstyle_command_callback.vader b/test/command_callback/test_checkstyle_command_callback.vader index 7a9f26b3..5824df87 100644 --- a/test/command_callback/test_checkstyle_command_callback.vader +++ b/test/command_callback/test_checkstyle_command_callback.vader @@ -20,11 +20,11 @@ Execute(The checkstyle executable should be configurable): \ . ' %s' Execute(Custom options should be supported): - let b:ale_java_checkstyle_options = '--foobar' + let b:ale_java_checkstyle_options = '--foobar -cp -classpath /path/to/checkstyle-8.7-all.jar' AssertLinter 'checkstyle', \ ale#Escape('checkstyle') - \ . ' --foobar' + \ . ' --foobar -cp -classpath /path/to/checkstyle-8.7-all.jar' \ . ' -c ' . ale#Escape('/google_checks.xml') \ . ' %s' |