summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-04 21:18:46 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-04 21:18:46 +0200
commite2e4075fad1326181edc5a131e48c644ef613693 (patch)
treef3749b559e690b3e8e80990441aeb6459d955fce /src/testdir/test_channel.vim
parent24f7750ffa9730579736d779b7cc94faff325fc1 (diff)
patch 8.2.1593: tests do not check the error number properlyv8.2.1593
Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r--src/testdir/test_channel.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index 065e8b403b..6fa7e3bfdb 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -163,11 +163,11 @@ func Ch_communicate(port)
eval handle->ch_setoptions({'callback': 's:NotUsed'})
call ch_setoptions(handle, {'timeout': 1111})
call ch_setoptions(handle, {'mode': 'json'})
- call assert_fails("call ch_setoptions(handle, {'waittime': 111})", "E475")
+ call assert_fails("call ch_setoptions(handle, {'waittime': 111})", 'E475:')
call ch_setoptions(handle, {'callback': ''})
call ch_setoptions(handle, {'drop': 'never'})
call ch_setoptions(handle, {'drop': 'auto'})
- call assert_fails("call ch_setoptions(handle, {'drop': 'bad'})", "E475")
+ call assert_fails("call ch_setoptions(handle, {'drop': 'bad'})", 'E475:')
call assert_equal(0, ch_setoptions(handle, test_null_dict()))
call assert_equal(0, ch_setoptions(test_null_channel(), {'drop' : 'never'}))