mirror of
https://github.com/neovim/neovim.git
synced 2026-05-05 21:45:05 +00:00
fix(messages): 'exrc' / secure messages
This commit is contained in:
@@ -1262,11 +1262,11 @@ describe('user config init', function()
|
||||
|
||||
-- trust .exrc
|
||||
feed(':trust<CR>')
|
||||
screen:expect({ any = 'Allowed ".*' .. pathsep .. '%.exrc" in trust database.' })
|
||||
screen:expect({ any = 'Allowed in trust database: ".*' .. pathsep .. '%.exrc"' })
|
||||
feed(':q<CR>')
|
||||
-- trust .nvim.lua
|
||||
feed(':trust<CR>')
|
||||
screen:expect({ any = 'Allowed ".*' .. pathsep .. '%.nvim%.lua" in trust database.' })
|
||||
screen:expect({ any = 'Allowed in trust database: ".*' .. pathsep .. '%.nvim%.lua"' })
|
||||
feed(':q<CR>')
|
||||
-- no exrc file is executed
|
||||
feed(':echo g:exrc_count<CR>')
|
||||
|
||||
Reference in New Issue
Block a user