forked from aniani/vim
patch 8.1.0797: error E898 is used twice
Problem: Error E898 is used twice. Solution: Rename the Blob error to E899. (closes #3853)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#endif
|
||||
|
||||
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_stringreq = N_("E928: String required");
|
||||
|
||||
#ifdef FEAT_FLOAT
|
||||
|
@@ -597,7 +597,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
|
||||
|
@@ -791,6 +791,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
797,
|
||||
/**/
|
||||
796,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user