summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_clientserver.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-06 21:34:30 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-06 21:34:30 +0200
commit196b4664432f932625cfb6371dc42c24efe6c203 (patch)
tree95294d46aa15e3fccbee2422f352b46958d9f593 /src/testdir/test_clientserver.vim
parent16b58ae9f36e9675c34d942f5d5f8c8a7914dbc4 (diff)
patch 8.1.1993: more functions can be used as methodsv8.1.1993
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_clientserver.vim')
-rw-r--r--src/testdir/test_clientserver.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_clientserver.vim b/src/testdir/test_clientserver.vim
index 2e4a66ef86..f358117a8f 100644
--- a/src/testdir/test_clientserver.vim
+++ b/src/testdir/test_clientserver.vim
@@ -73,7 +73,7 @@ func Test_client_server()
call remote_send(name, ":call server2client(expand('<client>'), 'got it')\<CR>", 'g:myserverid')
call assert_equal('got it', g:myserverid->remote_read(2))
- call remote_send(name, ":call server2client(expand('<client>'), 'another')\<CR>", 'g:myserverid')
+ call remote_send(name, ":eval expand('<client>')->server2client('another')\<CR>", 'g:myserverid')
let peek_result = 'nothing'
let r = g:myserverid->remote_peek('peek_result')
" unpredictable whether the result is already available.