linters/xo: fix tests

This commit is contained in:
Charles B Johnson committed 2021-01-22 09:23:54 -06:00
1 parent 4edfac4db6
commit 5fd5fa5305
2 files changed
+4 -2

No files matched your search

@@ -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:
@@ -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: