diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2020-12-02 19:01:48 +0000 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-09-15 22:30:31 +0100 |
commit | e140eec441006d0a05abcba49c6d9a0482609216 (patch) | |
tree | 46299a5df25d901668c53bd4d26587b770a9293e /src | |
parent | c57132ec2a9c16facff7858c8610c3206398fe7e (diff) | |
download | rneovim-e140eec441006d0a05abcba49c6d9a0482609216.tar.gz rneovim-e140eec441006d0a05abcba49c6d9a0482609216.tar.bz2 rneovim-e140eec441006d0a05abcba49c6d9a0482609216.zip |
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)
https://github.com/vim/vim/commit/bf821bccf18453b01d25bee53e4954b02a5dd0e6
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/eval/funcs.c | 2 | ||||
-rw-r--r-- | src/nvim/testdir/test_listdict.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c index 20affdf529..2d58ce1d04 100644 --- a/src/nvim/eval/funcs.c +++ b/src/nvim/eval/funcs.c @@ -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 diff --git a/src/nvim/testdir/test_listdict.vim b/src/nvim/testdir/test_listdict.vim index fa711dde2d..ae035fa519 100644 --- a/src/nvim/testdir/test_listdict.vim +++ b/src/nvim/testdir/test_listdict.vim @@ -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 |