summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/command_callback/test_xo_command_callback.vader3
-rw-r--r--test/command_callback/test_xots_command_callback.vader3
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: