diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-18 21:55:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-18 21:55:26 +0200 |
commit | 2bbada811625ee53c7bcdf689dbf409e9975ea8f (patch) | |
tree | 2040d2460db052582f8a3051062734958ba4327e | |
parent | 7cbfaa51de7b225effdc79a008c71a5551883c38 (diff) | |
download | vim-git-2bbada811625ee53c7bcdf689dbf409e9975ea8f.tar.gz |
patch 8.2.1707: small inconsitency in highlight testv8.2.1707
Problem: Small inconsitency in highlight test.
Solution: Use one argument for :execute. (Antony Scriven, #6975)
-rw-r--r-- | src/testdir/test_highlight.vim | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_highlight.vim b/src/testdir/test_highlight.vim index a1c80cde6..05f215ae3 100644 --- a/src/testdir/test_highlight.vim +++ b/src/testdir/test_highlight.vim @@ -886,11 +886,11 @@ func Test_highlight_clear_restores_context() 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 index 93f770144..fd880f5e1 100644 --- 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, |