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.
diff --git a/src/testdir/test_modeline.vim b/src/testdir/test_modeline.vim
index d29bbb5..e0f97c4 100644
--- a/src/testdir/test_modeline.vim
+++ b/src/testdir/test_modeline.vim
@@ -87,5 +87,8 @@
endfunc
func Test_modeline_keymap_fails()
+ if !has('keymap')
+ return
+ endif
call s:modeline_fails('keymap', 'keymap=evil$CMD')
endfunc
diff --git a/src/version.c b/src/version.c
index ce8595e..3207af3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -793,6 +793,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 547,
+/**/
546,
/**/
545,