Skip to content

Commit 2bbada8

Browse files
committed
patch 8.2.1707: small inconsitency in highlight test
Problem: Small inconsitency in highlight test. Solution: Use one argument for :execute. (Antony Scriven, #6975)
1 parent 7cbfaa5 commit 2bbada8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_highlight.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,11 +886,11 @@ func Test_highlight_clear_restores_context()
886886
let patContextDefault = fnamemodify(scriptContextDefault, ':t') .. ' line 1'
887887
let patContextRelink = fnamemodify(scriptContextRelink, ':t') .. ' line 2'
888888

889-
exec "source" scriptContextDefault
889+
exec 'source ' .. scriptContextDefault
890890
let hlContextDefault = execute("verbose hi Context")
891891
call assert_match(patContextDefault, hlContextDefault)
892892

893-
exec "source" scriptContextRelink
893+
exec 'source ' .. scriptContextRelink
894894
let hlContextRelink = execute("verbose hi Context")
895895
call assert_match(patContextRelink, hlContextRelink)
896896

src/version.c

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

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
1707,
753755
/**/
754756
1706,
755757
/**/

0 commit comments

Comments
 (0)