mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-22 20:11:26 +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,9 +1,6 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('haskell', 'hie')
|
||||
|
||||
Save &filetype
|
||||
let &filetype = 'haskell'
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
@@ -11,8 +8,7 @@ Execute(The language string should be correct):
|
||||
AssertLSPLanguage 'haskell'
|
||||
|
||||
Execute(The default executable should be correct):
|
||||
AssertLinter 'hie',
|
||||
\ ale#Escape('hie') . ' --lsp'
|
||||
AssertLinter 'hie', ale#Escape('hie') . ' --lsp'
|
||||
|
||||
Execute(The project root should be detected correctly):
|
||||
AssertLSPProject g:dir
|
||||
|
||||
Reference in New Issue
Block a user