summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-09-04 11:15:59 +0100
committerw0rp <devw0rp@gmail.com>2018-09-04 11:15:59 +0100
commit43b04d4e5b6205bf4456f333bf0595d32f82da6f (patch)
tree0f8b6d9a6089ac8d4ba0abb3cf20aa5b3d8be0bd /test
parent87f125ddcf1112196bd952af3bef9d8c85205f8c (diff)
downloadale-43b04d4e5b6205bf4456f333bf0595d32f82da6f.zip
Fix the dart language server command and cover it with tests
Diffstat (limited to 'test')
-rw-r--r--test/command_callback/test_dart_language_server_command_callback.vader8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command_callback/test_dart_language_server_command_callback.vader b/test/command_callback/test_dart_language_server_command_callback.vader
new file mode 100644
index 00000000..5567f271
--- /dev/null
+++ b/test/command_callback/test_dart_language_server_command_callback.vader
@@ -0,0 +1,8 @@
+Before:
+ call ale#assert#SetUpLinterTest('dart', 'language_server')
+
+After:
+ call ale#assert#TearDownLinterTest()
+
+Execute(The default command should be correct):
+ AssertLinter 'dart_language_server', ale#Escape('dart_language_server')