From f2f625c984394d8bca598dc32370e2ec7b33a27b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 25 May 2019 15:41:19 -0400 Subject: vim-patch:8.1.0547: modeline test with keymap still fails Problem: Modeline test with keymap still fails. Solution: Check that the keymap feature is available for the failure assert. https://github.com/vim/vim/commit/3067a4dd0d768d1e4a47cf3c100f3e2b462717d7 --- src/nvim/testdir/test_modeline.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/nvim/testdir/test_modeline.vim b/src/nvim/testdir/test_modeline.vim index c0427e64ab..091a833774 100644 --- a/src/nvim/testdir/test_modeline.vim +++ b/src/nvim/testdir/test_modeline.vim @@ -87,5 +87,8 @@ func Test_modeline_syntax_fails() endfunc func Test_modeline_keymap_fails() + if !has('keymap') + return + endif call s:modeline_fails('keymap', 'keymap=evil$CMD') endfunc -- cgit