linters/xo: fix tests

This commit is contained in:
Charles B Johnson 2021-01-19 23:08:10 -06:00
parent 4edfac4db6
commit 5fd5fa5305
No known key found for this signature in database
GPG Key ID: 390184033B3454E3
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,9 @@
Before:
call ale#assert#SetUpLinterTest('javascript', 'xo')
call ale#test#SetFilename('testfile.js')
call ale#test#SetFilename('testfile.jsx')
unlet! b:executable
set filetype=javascriptreact
runtime autoload/ale/handlers/xo.vim
After:

View File

@ -1,8 +1,9 @@
Before:
call ale#assert#SetUpLinterTest('typescript', 'xo')
call ale#test#SetFilename('testfile.ts')
call ale#test#SetFilename('testfile.tsx')
unlet! b:executable
set filetype=typescriptreact
runtime autoload/ale/handlers/xo.vim
After: