diff options
author | Charles B Johnson <mail@cbjohnson.info> | 2021-01-19 23:08:10 -0600 |
---|---|---|
committer | Charles B Johnson <mail@cbjohnson.info> | 2021-01-22 09:23:54 -0600 |
commit | 5fd5fa53051c3514917974d0ba57f18eb50dd37e (patch) | |
tree | 122c33b44720afaa5c17c817fdc6f50b13819a81 /test | |
parent | 4edfac4db64debcfd33d894f169d0c1dc6dc48a4 (diff) | |
download | ale-5fd5fa53051c3514917974d0ba57f18eb50dd37e.zip |
linters/xo: fix tests
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_xo_command_callback.vader | 3 | ||||
-rw-r--r-- | test/command_callback/test_xots_command_callback.vader | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/command_callback/test_xo_command_callback.vader b/test/command_callback/test_xo_command_callback.vader index 7a38b2b1..1aa4c3f1 100644 --- a/test/command_callback/test_xo_command_callback.vader +++ b/test/command_callback/test_xo_command_callback.vader @@ -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: diff --git a/test/command_callback/test_xots_command_callback.vader b/test/command_callback/test_xots_command_callback.vader index c614ad59..cc38ff02 100644 --- a/test/command_callback/test_xots_command_callback.vader +++ b/test/command_callback/test_xots_command_callback.vader @@ -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: |