summaryrefslogtreecommitdiff
path: root/test/lsp/test_lsp_connections.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsp/test_lsp_connections.vader')
-rw-r--r--test/lsp/test_lsp_connections.vader54
1 files changed, 0 insertions, 54 deletions
diff --git a/test/lsp/test_lsp_connections.vader b/test/lsp/test_lsp_connections.vader
index ae64eadb..1c2fceab 100644
--- a/test/lsp/test_lsp_connections.vader
+++ b/test/lsp/test_lsp_connections.vader
@@ -225,57 +225,3 @@ Execute(ale#lsp#ReadMessageData() should handle a message with part of a second
\ . '{"id":2,"jsonrpc":"2.0","result":{"foo":"barÜ"}}'
\ . b:data
\ )
-
-Execute(Projects with regular project roots should be registered correctly):
- let b:conn = ale#lsp#NewConnection({})
- call ale#lsp#RegisterProject(b:conn.id, '/foo/bar')
-
- AssertEqual
- \ {
- \ '/foo/bar': {
- \ 'root': '/foo/bar',
- \ 'initialized': 0,
- \ 'message_queue': [],
- \ 'capabilities_queue': [],
- \ 'init_request_id': 0,
- \ },
- \ },
- \ b:conn.projects
-
-Execute(Projects with regular project roots should be fetched correctly):
- let b:conn = {
- \ 'projects': {
- \ '/foo/bar': {'initialized': 0, 'message_queue': [], 'init_request_id': 0},
- \ },
- \}
-
- AssertEqual
- \ {'initialized': 0, 'message_queue': [], 'init_request_id': 0},
- \ ale#lsp#GetProject(b:conn, '/foo/bar')
-
-Execute(Projects with empty project roots should be registered correctly):
- let b:conn = ale#lsp#NewConnection({})
- call ale#lsp#RegisterProject(b:conn.id, '')
-
- AssertEqual
- \ {
- \ '<<EMPTY>>': {
- \ 'root': '',
- \ 'initialized': 1,
- \ 'message_queue': [],
- \ 'capabilities_queue': [],
- \ 'init_request_id': 0,
- \ },
- \ },
- \ b:conn.projects
-
-Execute(Projects with empty project roots should be fetched correctly):
- let b:conn = {
- \ 'projects': {
- \ '<<EMPTY>>': {'initialized': 1, 'message_queue': [], 'init_request_id': 0},
- \ },
- \}
-
- AssertEqual
- \ {'initialized': 1, 'message_queue': [], 'init_request_id': 0},
- \ ale#lsp#GetProject(b:conn, '')