mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
functionaltests: fix new execute() tests
This commit is contained in:
parent
5a4e7af77d
commit
f0078c26c2
@ -114,7 +114,7 @@ describe('execute()', function()
|
|||||||
{1:~ }|
|
{1:~ }|
|
||||||
{1:~ }|
|
{1:~ }|
|
||||||
{2: }|
|
{2: }|
|
||||||
:echo execute("hi ErrorMsg") |
|
|
|
||||||
ErrorMsg xxx ctermfg=15 ctermbg=1 guifg=White guibg=Red |
|
ErrorMsg xxx ctermfg=15 ctermbg=1 guifg=White guibg=Red |
|
||||||
{3:Press ENTER or type command to continue}^ |
|
{3:Press ENTER or type command to continue}^ |
|
||||||
]], {
|
]], {
|
||||||
@ -188,7 +188,7 @@ describe('execute()', function()
|
|||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
~ |
|
~ |
|
||||||
1234abcdefABCD |
|
ABCD |
|
||||||
]])
|
]])
|
||||||
|
|
||||||
feed([[:call Test2()<cr>]])
|
feed([[:call Test2()<cr>]])
|
||||||
@ -237,11 +237,11 @@ describe('execute()', function()
|
|||||||
|
|
||||||
feed([[:call Test6()<cr>]])
|
feed([[:call Test6()<cr>]])
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
1234 |
|
|
|
||||||
Error detected while processing function|
|
Error detected while processing function|
|
||||||
Test6: |
|
Test6: |
|
||||||
line 2: |
|
line 2: |
|
||||||
E121: Undefined variable: undefinedABCD |
|
E121ABCD |
|
||||||
Press ENTER or type command to continue^ |
|
Press ENTER or type command to continue^ |
|
||||||
]])
|
]])
|
||||||
|
|
||||||
@ -250,8 +250,8 @@ describe('execute()', function()
|
|||||||
Error detected while processing function|
|
Error detected while processing function|
|
||||||
Test6: |
|
Test6: |
|
||||||
line 2: |
|
line 2: |
|
||||||
E121: Undefined variable: undefinedABCD |
|
E121ABCD |
|
||||||
abcdefABCD |
|
ABCD |
|
||||||
Press ENTER or type command to continue^ |
|
Press ENTER or type command to continue^ |
|
||||||
]])
|
]])
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user