mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-21 19:51:17 +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:
@@ -2,7 +2,6 @@ Before:
|
||||
runtime ale_linters/eruby/erblint.vim
|
||||
|
||||
After:
|
||||
unlet! g:lines
|
||||
call ale#linter#Reset()
|
||||
|
||||
Execute(The erblint handler should parse lines correctly):
|
||||
@@ -61,10 +60,5 @@ Execute(The erblint handler should handle when files are checked and no offenses
|
||||
\ ])
|
||||
|
||||
Execute(The erblint handler should handle output without any errors):
|
||||
AssertEqual
|
||||
\ [],
|
||||
\ ale_linters#eruby#erblint#Handle(347, ['{}'])
|
||||
|
||||
AssertEqual
|
||||
\ [],
|
||||
\ ale_linters#eruby#erblint#Handle(347, [])
|
||||
AssertEqual [], ale_linters#eruby#erblint#Handle(347, ['{}'])
|
||||
AssertEqual [], ale_linters#eruby#erblint#Handle(347, [])
|
||||
|
||||
Reference in New Issue
Block a user