summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_texlab_command_callbacks.vader5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/command_callback/test_texlab_command_callbacks.vader b/test/command_callback/test_texlab_command_callbacks.vader
index ca678d2b..c18793da 100644
--- a/test/command_callback/test_texlab_command_callbacks.vader
+++ b/test/command_callback/test_texlab_command_callbacks.vader
@@ -14,7 +14,10 @@ Execute(The default executable path should be correct):
AssertLinter 'texlab', ale#Escape('texlab')
Execute(The project root should be detected correctly):
- AssertLSPProject ''
+ call ale#test#SetFilename('tex_paths/sample1.tex')
+ silent! call mkdir('tex_paths/.git')
+
+ AssertLSPProject ale#path#Simplify(g:dir . '/tex_paths')
Execute(The executable should be configurable):
let b:ale_tex_texlab_executable = 'foobar'