summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-04-15 13:36:03 +0100
committerw0rp <devw0rp@gmail.com>2019-04-15 13:36:03 +0100
commit61c1ddd90429c2604867358aedc2456b560845f9 (patch)
tree87ba60838eb678e5b9fa5b0a18c8d6899697a3b3 /test/command_callback
parent495bce32e957dcf45d6d6acf183599e18c92b09d (diff)
downloadale-61c1ddd90429c2604867358aedc2456b560845f9.zip
Fix #2440 - Fix the kotlinc command when Maven and Gradle are missing
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_kotlinc_command_callback.vader9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command_callback/test_kotlinc_command_callback.vader b/test/command_callback/test_kotlinc_command_callback.vader
new file mode 100644
index 00000000..fe94bffa
--- /dev/null
+++ b/test/command_callback/test_kotlinc_command_callback.vader
@@ -0,0 +1,9 @@
+Before:
+ call ale#assert#SetUpLinterTest('kotlin', 'kotlinc')
+ call ale#test#SetFilename('test.kt')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default command should be correct):
+ AssertLinter 'kotlinc', 'kotlinc ' . ale#Escape(expand('%:p'))