summaryrefslogtreecommitdiff
path: root/test/linter/test_luac.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_luac.vader')
-rw-r--r--test/linter/test_luac.vader13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/linter/test_luac.vader b/test/linter/test_luac.vader
new file mode 100644
index 00000000..55f39cba
--- /dev/null
+++ b/test/linter/test_luac.vader
@@ -0,0 +1,13 @@
+Before:
+ call ale#assert#SetUpLinterTest('lua', 'luac')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default command should be correct):
+ AssertLinter 'luac', ale#Escape('luac') . ' -p -'
+
+Execute(The luac executable should be configurable):
+ let g:ale_lua_luac_executable = 'luac.sh'
+
+ AssertLinter 'luac.sh', ale#Escape('luac.sh') . ' -p -'