FIXUP: duplicate error number in #7422

This commit is contained in:
Björn Linse
2017-11-23 07:36:35 +01:00
parent 51637f4256
commit d9b3ebfede
2 changed files with 4 additions and 4 deletions

View File

@@ -1168,7 +1168,7 @@ EXTERN char_u e_unsupportedoption[] INIT(= N_("E519: Option not supported"));
EXTERN char_u e_fnametoolong[] INIT(= N_("E856: Filename too long"));
EXTERN char_u e_float_as_string[] INIT(= N_("E806: using Float as a String"));
EXTERN char_u e_autocmd_err[] INIT(=N_(
"E920: autocmd has thrown an exception: %s"));
"E5500: autocmd has thrown an exception: %s"));
EXTERN char top_bot_msg[] INIT(= N_("search hit TOP, continuing at BOTTOM"));

View File

@@ -70,7 +70,7 @@ describe('cmdline autocommands', function()
{1:~ }|
{1:~ }|
: |
{2:E920: autocmd has thrown an exception: Vim(echoerr):FAIL} |
{2:E5500: autocmd has thrown an exception: Vim(echoerr):FAIL} |
:^ |
]])
feed("put ='lorem ipsum'<cr>")
@@ -78,9 +78,9 @@ describe('cmdline autocommands', function()
{1:~ }|
{1:~ }|
: |
{2:E920: autocmd has thrown an exception: Vim(echoerr):FAIL} |
{2:E5500: autocmd has thrown an exception: Vim(echoerr):FAIL} |
:put ='lorem ipsum' |
{2:E920: autocmd has thrown an exception: Vim(echoerr):very error} |
{2:E5500: autocmd has thrown an exception: Vim(echoerr):very error} |
|
{3:Press ENTER or type command to continue}^ |
]])