Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
23983:8911f8c83426 | 23984:e27b5529dc6a |
---|---|
238 iunmap K | 238 iunmap K |
239 let &cpo = cpo_save | 239 let &cpo = cpo_save |
240 bwipe! | 240 bwipe! |
241 | 241 |
242 call assert_fails('call mapset([], v:false, {})', 'E730:') | 242 call assert_fails('call mapset([], v:false, {})', 'E730:') |
243 call assert_fails('call mapset("i", 0, "")', 'E716:') | |
244 call assert_fails('call mapset("i", 0, {})', 'E460:') | |
243 endfunc | 245 endfunc |
244 | 246 |
245 func Check_ctrlb_map(d, check_alt) | 247 func Check_ctrlb_map(d, check_alt) |
246 call assert_equal('<C-B>', a:d.lhs) | 248 call assert_equal('<C-B>', a:d.lhs) |
247 if a:check_alt | 249 if a:check_alt |