aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_digraph.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-13 10:14:12 +0800
committerGitHub <noreply@github.com>2023-11-13 10:14:12 +0800
commit6fa9f457234449f5c62fefeb6a7f87b5f36e819c (patch)
treee2f8c7dd27a51adcd708d466dbeb45c9c0ad909c /test/old/testdir/test_digraph.vim
parent1fd0ded08029c575ac4887e513732c50eaf05be2 (diff)
parent629f117945231497ce04ce5a0628c0999807725f (diff)
downloadrneovim-6fa9f457234449f5c62fefeb6a7f87b5f36e819c.tar.gz
rneovim-6fa9f457234449f5c62fefeb6a7f87b5f36e819c.tar.bz2
rneovim-6fa9f457234449f5c62fefeb6a7f87b5f36e819c.zip
Merge pull request #26018 from zeertzjq/vim-9.0.0137
vim-patch:9.0.{0137,0336,0525}
Diffstat (limited to 'test/old/testdir/test_digraph.vim')
-rw-r--r--test/old/testdir/test_digraph.vim11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/old/testdir/test_digraph.vim b/test/old/testdir/test_digraph.vim
index f40227e75c..8229248f7f 100644
--- a/test/old/testdir/test_digraph.vim
+++ b/test/old/testdir/test_digraph.vim
@@ -456,9 +456,7 @@ func Test_digraphs_output()
endfunc
func Test_loadkeymap()
- if !has('keymap')
- return
- endif
+ CheckFeature keymap
new
set keymap=czech
set iminsert=0
@@ -498,13 +496,10 @@ endfunc
" Test for error in a keymap file
func Test_loadkeymap_error()
- if !has('keymap')
- return
- endif
+ CheckFeature keymap
call assert_fails('loadkeymap', 'E105:')
- call writefile(['loadkeymap', 'a'], 'Xkeymap')
+ call writefile(['loadkeymap', 'a'], 'Xkeymap', 'D')
call assert_fails('source Xkeymap', 'E791:')
- call delete('Xkeymap')
endfunc
" Test for the characters displayed on the screen when entering a digraph