Skip to content

Commit 3067a4d

Browse files
committed
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.
1 parent 4ace6ab commit 3067a4d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/testdir/test_modeline.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,8 @@ func Test_modeline_syntax_fails()
8787
endfunc
8888

8989
func Test_modeline_keymap_fails()
90+
if !has('keymap')
91+
return
92+
endif
9093
call s:modeline_fails('keymap', 'keymap=evil$CMD')
9194
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,8 @@ static char *(features[]) =
792792

793793
static int included_patches[] =
794794
{ /* Add new patch number below this line */
795+
/**/
796+
547,
795797
/**/
796798
546,
797799
/**/

0 commit comments

Comments
 (0)