summaryrefslogtreecommitdiff
path: root/test/command_callback/test_texlab_command_callbacks.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_texlab_command_callbacks.vader')
-rw-r--r--test/command_callback/test_texlab_command_callbacks.vader30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/command_callback/test_texlab_command_callbacks.vader b/test/command_callback/test_texlab_command_callbacks.vader
deleted file mode 100644
index 75fc2f25..00000000
--- a/test/command_callback/test_texlab_command_callbacks.vader
+++ /dev/null
@@ -1,30 +0,0 @@
-Before:
- call ale#assert#SetUpLinterTest('tex', 'texlab')
-
- Save &filetype
- let &filetype = 'tex'
-
-After:
- call ale#assert#TearDownLinterTest()
-
-Execute(The language string should be correct):
- AssertLSPLanguage 'tex'
-
-Execute(The default executable path should be correct):
- AssertLinter 'texlab', ale#Escape('texlab')
-
-Execute(The project root should be detected correctly):
- call ale#test#SetFilename('../test-files/tex/sample1.tex')
- silent! call mkdir('../test-files/tex/.git')
-
- AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/tex')
-
-Execute(The executable should be configurable):
- let b:ale_tex_texlab_executable = 'foobar'
-
- AssertLinter 'foobar', ale#Escape('foobar')
-
-Execute(The options should be configurable):
- let b:ale_tex_texlab_options = '-v'
-
- AssertLinter 'texlab', ale#Escape('texlab') . ' ' . b:ale_tex_texlab_options