Fix 3838 - deprecate datanalyzer (#3839)

Co-authored-by: Horacio Sanson <horacio@allm.inc>
This commit is contained in:
Horacio Sanson
2022-01-05 22:34:47 +09:00
committed by GitHub
parent 5a5029b73d
commit 76bd059371
7 changed files with 2 additions and 122 deletions

View File

@@ -1,20 +0,0 @@
Before:
call ale#assert#SetUpLinterTest('dart', 'dartanalyzer')
After:
call ale#assert#TearDownLinterTest()
Execute(The default command and executable should be correct):
AssertLinter 'dartanalyzer', ale#Escape('dartanalyzer') . ' %s'
Execute(The executable should be configurable):
let g:ale_dart_dartanalyzer_executable = 'foobar'
AssertLinter 'foobar', ale#Escape('foobar') . ' %s'
Execute(The .packages file should be set if detected):
call ale#test#SetFilename('../test-files/dart/foo')
AssertLinter 'dartanalyzer', ale#Escape('dartanalyzer')
\ . ' --packages ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/dart/.packages'))
\ . ' %s'