From f0078c26c2949d9cd2020e0c95dc33eb26a60688 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 11 Dec 2018 21:29:10 -0500 Subject: [PATCH] functionaltests: fix new execute() tests --- test/functional/eval/execute_spec.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/functional/eval/execute_spec.lua b/test/functional/eval/execute_spec.lua index 45664e1060..f52ac4e59b 100644 --- a/test/functional/eval/execute_spec.lua +++ b/test/functional/eval/execute_spec.lua @@ -114,7 +114,7 @@ describe('execute()', function() {1:~ }| {1:~ }| {2: }| - :echo execute("hi ErrorMsg") | + | ErrorMsg xxx ctermfg=15 ctermbg=1 guifg=White guibg=Red | {3:Press ENTER or type command to continue}^ | ]], { @@ -188,7 +188,7 @@ describe('execute()', function() ~ | ~ | ~ | - 1234abcdefABCD | + ABCD | ]]) feed([[:call Test2()]]) @@ -237,11 +237,11 @@ describe('execute()', function() feed([[:call Test6()]]) screen:expect([[ - 1234 | + | Error detected while processing function| Test6: | line 2: | - E121: Undefined variable: undefinedABCD | + E121ABCD | Press ENTER or type command to continue^ | ]]) @@ -250,8 +250,8 @@ describe('execute()', function() Error detected while processing function| Test6: | line 2: | - E121: Undefined variable: undefinedABCD | - abcdefABCD | + E121ABCD | + ABCD | Press ENTER or type command to continue^ | ]]) end)