diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-01-16 19:28:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 19:28:17 +0800 |
commit | e7ea156604156b7a70d120d0df5448442b1cdf10 (patch) | |
tree | 5270a336a2a70b7bf19275214830055aefb81999 /test/functional/ui | |
parent | 90493beb1584b9a99d3a71658bccd536d601e0f7 (diff) | |
parent | 61d5bd561addfd4cc9917712bdf983e77137089e (diff) | |
download | rneovim-e7ea156604156b7a70d120d0df5448442b1cdf10.tar.gz rneovim-e7ea156604156b7a70d120d0df5448442b1cdf10.tar.bz2 rneovim-e7ea156604156b7a70d120d0df5448442b1cdf10.zip |
Merge pull request #20945 from erw7/feat-more-exception-info
feat(api): show more exception info
Diffstat (limited to 'test/functional/ui')
-rw-r--r-- | test/functional/ui/cmdline_highlight_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/cmdline_highlight_spec.lua b/test/functional/ui/cmdline_highlight_spec.lua index 33e375760e..eb5de693bd 100644 --- a/test/functional/ui/cmdline_highlight_spec.lua +++ b/test/functional/ui/cmdline_highlight_spec.lua @@ -335,17 +335,17 @@ describe('Command-line coloring', function() :echo "«^ | ]]) end) - it('does the right thing when errorring', function() + it('does the right thing when erroring', function() set_color_cb('Echoerring') start_prompt('e') screen:expect([[ | {EOB:~ }| - {EOB:~ }| {MSEP: }| : | {ERR:E5407: Callback has thrown an exception:}| - {ERR: Vim(echoerr):HERE} | + {ERR: function DoPrompt[3]..Echoerring, line }| + {ERR:1: Vim(echoerr):HERE} | :e^ | ]]) end) @@ -400,10 +400,10 @@ describe('Command-line coloring', function() screen:expect([[ | {EOB:~ }| - {EOB:~ }| {MSEP: }| : | {ERR:E5407: Callback has thrown an exception:}| + {ERR: function DoPrompt[3]..Throwing, line 1:}| {ERR: ABC} | :e^ | ]]) |