diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-12-11 21:29:10 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-06-03 00:12:01 -0400 |
commit | f0078c26c2949d9cd2020e0c95dc33eb26a60688 (patch) | |
tree | fc0b46124d112ff21048f81ed84bfcabd461e704 /test/functional/eval/execute_spec.lua | |
parent | 5a4e7af77d0f819d61604b9440cc2f6376a3186b (diff) | |
download | rneovim-f0078c26c2949d9cd2020e0c95dc33eb26a60688.tar.gz rneovim-f0078c26c2949d9cd2020e0c95dc33eb26a60688.tar.bz2 rneovim-f0078c26c2949d9cd2020e0c95dc33eb26a60688.zip |
functionaltests: fix new execute() tests
Diffstat (limited to 'test/functional/eval/execute_spec.lua')
-rw-r--r-- | test/functional/eval/execute_spec.lua | 12 |
1 files 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()<cr>]]) @@ -237,11 +237,11 @@ describe('execute()', function() feed([[:call Test6()<cr>]]) 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) |