summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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.