mirror of
https://github.com/dense-analysis/ale.git
synced 2026-08-15 04:10:59 +08:00
#4454 Clean up more tests and code
* Remove some tests we no longer need * Delete blocks of redundant code * Compress some tests together to simplify them * Remove a little code for ancient linter versions * Escape more executables we didn't escape before * Rename a deno option that didn't match our conventions
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('java', 'javalsp')
|
||||
|
||||
@@ -39,18 +38,6 @@ Execute(The javalsp should have default config):
|
||||
\ },
|
||||
\ ale_linters#java#javalsp#Config(bufnr(''))
|
||||
|
||||
Execute(The javalsp should have default config if user sets empty hash):
|
||||
let b:ale_java_javalsp_config = {}
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
\ 'java': {
|
||||
\ 'classPath': [],
|
||||
\ 'externalDependencies': []
|
||||
\ }
|
||||
\ },
|
||||
\ ale_linters#java#javalsp#Config(bufnr(''))
|
||||
|
||||
Execute(The javalsp should have add missing config):
|
||||
let b:ale_java_javalsp_config = { 'java': { 'classPath': ['aaa.jar'] } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user