diff src/testdir/test_maparg.vim @ 23984:e27b5529dc6a v8.2.2534

patch 8.2.2534: missing test coverage Commit: https://github.com/vim/vim/commit/a1070eae77f635f08b6f2612726b905796baaa58 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 20 19:21:36 2021 +0100 patch 8.2.2534: missing test coverage Problem: Missing test coverage. Solution: Improve test coverage for completion with different encodings, mapset(), and term function failures. (Dominique Pell?, closes #7877)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Feb 2021 19:30:03 +0100
parents 9b09676b9e0e
children db2b4e867d06
line wrap: on
line diff
--- a/src/testdir/test_maparg.vim
+++ b/src/testdir/test_maparg.vim
@@ -240,6 +240,8 @@ func Test_mapset()
   bwipe!
 
   call assert_fails('call mapset([], v:false, {})', 'E730:')
+  call assert_fails('call mapset("i", 0, "")', 'E716:')
+  call assert_fails('call mapset("i", 0, {})', 'E460:')
 endfunc
 
 func Check_ctrlb_map(d, check_alt)