summaryrefslogtreecommitdiff
path: root/test/command_callback/test_rust_rls_callbacks.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_rust_rls_callbacks.vader')
-rw-r--r--test/command_callback/test_rust_rls_callbacks.vader30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/command_callback/test_rust_rls_callbacks.vader b/test/command_callback/test_rust_rls_callbacks.vader
deleted file mode 100644
index 9ca25619..00000000
--- a/test/command_callback/test_rust_rls_callbacks.vader
+++ /dev/null
@@ -1,30 +0,0 @@
-Before:
- call ale#assert#SetUpLinterTest('rust', 'rls')
-
-After:
- call ale#assert#TearDownLinterTest()
-
-Execute(The default executable path should be correct):
- AssertLinter 'rls', ale#Escape('rls')
-
-Execute(The toolchain should be configurable):
- let g:ale_rust_rls_toolchain = 'stable'
-
- AssertLinter 'rls', ale#Escape('rls') . ' +' . ale#Escape('stable')
-
-Execute(The toolchain should be ommitted if not given):
- let g:ale_rust_rls_toolchain = ''
-
- AssertLinter 'rls', ale#Escape('rls')
-
-Execute(The project root should be detected correctly):
- AssertLSPProject ''
-
- call ale#test#SetFilename('../test-files/rust/test.rs')
-
- AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/rust')
-
-Execute(Should accept configuration settings):
- AssertLSPConfig {}
- let b:ale_rust_rls_config = {'rust': {'clippy_preference': 'on'}}
- AssertLSPConfig {'rust': {'clippy_preference': 'on'}}