summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorHoracio Sanson <horacio@allm.net>2018-08-26 22:11:36 +0900
committerHoracio Sanson <horacio@allm.net>2018-08-26 22:11:36 +0900
commit261c29c3d09607a7a4fb38a62603950e71b7635c (patch)
tree16532b89af468ce1420798e47cb7c7312ab80e19 /test/command_callback
parent228aee71a58bd9f845d1a67e08d9012a1f26d8b2 (diff)
downloadale-261c29c3d09607a7a4fb38a62603950e71b7635c.zip
Add vader test and fix command callback.
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_javalsp_command_callback.vader10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/command_callback/test_javalsp_command_callback.vader b/test/command_callback/test_javalsp_command_callback.vader
new file mode 100644
index 00000000..1fbfddfb
--- /dev/null
+++ b/test/command_callback/test_javalsp_command_callback.vader
@@ -0,0 +1,10 @@
+
+Before:
+ call ale#assert#SetUpLinterTest('java', 'javalsp')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The javalsp callback should return the correct default value):
+ AssertLinter 'java', ale#Escape('java -cp javacs.jar -Xverify:none org.javacs.Main')
+