summaryrefslogtreecommitdiff
path: root/test/test_socket_connections.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-03 00:30:26 +0100
committerw0rp <devw0rp@gmail.com>2018-07-03 00:30:26 +0100
commit5aba55bb8634ea0304eab711e861098f99b70318 (patch)
treed3141914b21dac3d6226e5a883d4258128457251 /test/test_socket_connections.vader
parent01c68fedd63ccb9360134dba1cd2c722bc9f7006 (diff)
downloadale-5aba55bb8634ea0304eab711e861098f99b70318.zip
#830 Make the LSP socket code so far use the new socket API
Diffstat (limited to 'test/test_socket_connections.vader')
-rw-r--r--test/test_socket_connections.vader2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_socket_connections.vader b/test/test_socket_connections.vader
index 71a1728b..6837fe51 100644
--- a/test/test_socket_connections.vader
+++ b/test/test_socket_connections.vader
@@ -75,10 +75,12 @@ Execute(Sending and receiving connections to sockets should work):
AssertEqual g:channel_id, g:channel_id_received
AssertEqual 'hello world', g:data_received
+ AssertEqual '127.0.0.1:' . g:port, ale#socket#GetAddress(g:channel_id)
call ale#socket#Close(g:channel_id)
AssertEqual 0, ale#socket#IsOpen(g:channel_id)
+ AssertEqual '', ale#socket#GetAddress(g:channel_id)
endif
" NeoVim versions which can't connect to sockets should just fail.