mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
test/wildmode_spec: override $PS1
User config may set $PS1 for a colored prompt. It breaks the screen tests.
This commit is contained in:
@ -410,6 +410,7 @@ describe("'scrollback' option", function()
|
||||
command([[let $PROMPT='$$']])
|
||||
screen = thelpers.screen_setup(nil, "['cmd.exe']", 30)
|
||||
else
|
||||
command('let $PS1 = "$"')
|
||||
screen = thelpers.screen_setup(nil, "['sh']", 30)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user