# HG changeset patch # User Bram Moolenaar # Date 1600459203 -7200 # Node ID d275371fd1e71b874bfdb842778cde4cc6300594 # Parent 709f96f4db57e17ad598b3cdbab46307f8734219 patch 8.2.1707: small inconsitency in highlight test Commit: https://github.com/vim/vim/commit/2bbada811625ee53c7bcdf689dbf409e9975ea8f Author: Bram Moolenaar Date: Fri Sep 18 21:55:26 2020 +0200 patch 8.2.1707: small inconsitency in highlight test Problem: Small inconsitency in highlight test. Solution: Use one argument for :execute. (Antony Scriven, https://github.com/vim/vim/issues/6975) diff --git a/src/testdir/test_highlight.vim b/src/testdir/test_highlight.vim --- a/src/testdir/test_highlight.vim +++ b/src/testdir/test_highlight.vim @@ -886,11 +886,11 @@ func Test_highlight_clear_restores_conte let patContextDefault = fnamemodify(scriptContextDefault, ':t') .. ' line 1' let patContextRelink = fnamemodify(scriptContextRelink, ':t') .. ' line 2' - exec "source" scriptContextDefault + exec 'source ' .. scriptContextDefault let hlContextDefault = execute("verbose hi Context") call assert_match(patContextDefault, hlContextDefault) - exec "source" scriptContextRelink + exec 'source ' .. scriptContextRelink let hlContextRelink = execute("verbose hi Context") call assert_match(patContextRelink, hlContextRelink) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1707, +/**/ 1706, /**/ 1705,