mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:8.2.1707: small inconsitency in highlight test (#21193)
Problem: Small inconsitency in highlight test.
Solution: Use one argument for :execute. (Antony Scriven, vim/vim#6975)
2bbada8116
This commit is contained in:
@@ -819,11 +819,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)
|
||||
|
||||
|
Reference in New Issue
Block a user