mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-09 22:14:44 +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,5 +1,10 @@
|
||||
Before:
|
||||
let g:ale_deno_importMap = 'import_map.json'
|
||||
Save g:ale_deno_import_map
|
||||
Save g:ale_deno_unstable
|
||||
Save g:ale_deno_executable
|
||||
Save g:ale_deno_lsp_project_root
|
||||
|
||||
let g:ale_deno_import_map = 'import_map.json'
|
||||
let g:ale_deno_unstable = 0
|
||||
let g:ale_deno_executable = 'deno'
|
||||
let g:ale_deno_lsp_project_root = ''
|
||||
@@ -39,7 +44,7 @@ Execute(Should set the default importMap filepath):
|
||||
\}
|
||||
|
||||
Execute(Should set the importMap filepath from user defined importMap):
|
||||
let g:ale_deno_importMap = 'custom_import_map.json'
|
||||
let g:ale_deno_import_map = 'custom_import_map.json'
|
||||
call ale#test#SetFilename('../test-files/javascript_deno/main.js')
|
||||
|
||||
AssertLSPOptions {
|
||||
@@ -50,7 +55,7 @@ Execute(Should set the importMap filepath from user defined importMap):
|
||||
\}
|
||||
|
||||
Execute(Should set the importMap filepath from user defined importMap with unstable API):
|
||||
let g:ale_deno_importMap = 'custom_import_map.json'
|
||||
let g:ale_deno_import_map = 'custom_import_map.json'
|
||||
let g:ale_deno_unstable = 1
|
||||
call ale#test#SetFilename('../test-files/javascript_deno/main.js')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user