diff options
Diffstat (limited to 'test/old/testdir/test_digraph.vim')
-rw-r--r-- | test/old/testdir/test_digraph.vim | 11 |
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 |