test/wildmode_spec: override $PS1

User config may set $PS1 for a colored prompt.
It breaks the screen tests.
This commit is contained in:
Jan Edmund Lazo
2020-12-01 02:10:09 -05:00
parent 4b74996dbc
commit 518fe0e8a2
2 changed files with 2 additions and 0 deletions

View File

@ -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