Before:
call ale#assert#SetUpLinterTest('html', 'astgrep')
After:
call ale#assert#TearDownLinterTest()
Execute(The default executable path should be correct):
AssertLinter 'ast-grep', ale#Escape('ast-grep') . ' lsp'
Execute(The project root should be detected correctly with a configuration file):
call ale#test#SetFilename('../test-files/generic/astgrep/subdir/file.html')
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/generic/astgrep')
Execute(The project root should be empty when no project files can be detected):
call ale#test#SetFilename('../test-files/dummy')
AssertLSPProject ''