vim-patch:8.1.0797: error E898 is used twice

Problem:    Error E898 is used twice.
Solution:   Rename the Blob error to E899. (closes vim/vim#3853)
bf821bccf1
This commit is contained in:
Sean Dewar 2020-12-02 19:01:48 +00:00
parent c57132ec2a
commit e140eec441
No known key found for this signature in database
GPG Key ID: 08CC2C83AD41B581
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ Using expressions is introduced in chapter 41 of the user manual |usr_41.txt|.
1. Variables *variables*
1.1 Variable types ~
*E712* *E896* *E897* *E898*
*E712* *E896* *E897* *E899*
There are seven types of variables:
*Number* *Integer*

View File

@ -96,7 +96,7 @@ PRAGMA_DIAG_POP
static char *e_listarg = N_("E686: Argument of %s must be a List");
static char *e_listblobarg = N_("E898: Argument of %s must be a List or Blob");
static char *e_listblobarg = N_("E899: Argument of %s must be a List or Blob");
static char *e_invalwindow = N_("E957: Invalid window number");
/// Dummy va_list for passing to vim_snprintf

View File

@ -617,7 +617,7 @@ func Test_reverse_sort_uniq()
call assert_equal(['bar', 'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', -1, 0, 0, 0.22, 1.0e-15, 12, 18, 22, 255, 7, 9, [], {}], sort(copy(l), 'i'))
call assert_equal(['BAR', 'Bar', 'FOO', 'FOOBAR', 'Foo', 'bar', 'foo', -1, 0, 0, 0.22, 1.0e-15, 12, 18, 22, 255, 7, 9, [], {}], sort(copy(l)))
call assert_fails('call reverse("")', 'E898:')
call assert_fails('call reverse("")', 'E899:')
endfunc
" splitting a string to a List