summaryrefslogtreecommitdiff
path: root/test/linter/test_tex_lacheck.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_tex_lacheck.vader')
-rw-r--r--test/linter/test_tex_lacheck.vader13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/linter/test_tex_lacheck.vader b/test/linter/test_tex_lacheck.vader
new file mode 100644
index 00000000..b404cc78
--- /dev/null
+++ b/test/linter/test_tex_lacheck.vader
@@ -0,0 +1,13 @@
+Before:
+ call ale#assert#SetUpLinterTest('tex', 'lacheck')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(Executable should default to lacheck):
+ AssertLinter 'lacheck', ale#Escape('lacheck') . ' %t'
+
+Execute(Should be able to set a custom executable):
+ let g:ale_tex_lacheck_executable = 'bin/foo'
+
+ AssertLinter 'bin/foo' , ale#Escape('bin/foo') . ' %t'