diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-04-12 20:01:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-12 20:01:00 +0100 |
commit | 3401a4e8ea35608d90a6cf709a790a37f112d201 (patch) | |
tree | 3b002e1bf68971c8e84d84f6d66993a8a269fc62 /test | |
parent | f064ba48f5893f25c1af9459b309a919a392db7c (diff) | |
parent | 6c93cded648f835a23ca5b5a1ed4bfefb81c7fd2 (diff) | |
download | ale-3401a4e8ea35608d90a6cf709a790a37f112d201.zip |
Merge pull request #1498 from Eyenseo/master
Fix rust rls linter argument
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_rust_rls_callbacks.vader | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command_callback/test_rust_rls_callbacks.vader b/test/command_callback/test_rust_rls_callbacks.vader index 693d6e9f..d537bccb 100644 --- a/test/command_callback/test_rust_rls_callbacks.vader +++ b/test/command_callback/test_rust_rls_callbacks.vader @@ -28,6 +28,13 @@ Execute(The toolchain should be configurable): \ ale#Escape('rls') . ' +' . ale#Escape('stable'), \ ale_linters#rust#rls#GetCommand(bufnr('')) +Execute(The toolchain should be ommitted if not given): + let g:ale_rust_rls_toolchain = '' + + AssertEqual + \ ale#Escape('rls'), + \ ale_linters#rust#rls#GetCommand(bufnr('')) + Execute(The language string should be correct): AssertEqual 'rust', ale_linters#rust#rls#GetLanguage(bufnr('')) |