Mercurial > vim
comparison src/testdir/test_listdict.vim @ 15579:391ac26c9412 v8.1.0797
patch 8.1.0797: error E898 is used twice
commit https://github.com/vim/vim/commit/bf821bccf18453b01d25bee53e4954b02a5dd0e6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 23 21:15:02 2019 +0100
patch 8.1.0797: error E898 is used twice
Problem: Error E898 is used twice.
Solution: Rename the Blob error to E899. (closes https://github.com/vim/vim/issues/3853)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Jan 2019 21:30:08 +0100 |
parents | 4af72c724093 |
children | dff66c4670b1 |
comparison
equal
deleted
inserted
replaced
15578:85190e2fcf05 | 15579:391ac26c9412 |
---|---|
595 let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'bar', 'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', {}, []] | 595 let l=[7, 9, 18, 12, 22, 10.0e-16, -1, 0xff, 0, -0, 0.22, 'bar', 'BAR', 'Bar', 'Foo', 'FOO', 'foo', 'FOOBAR', {}, []] |
596 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), 1)) | 596 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), 1)) |
597 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')) | 597 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')) |
598 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))) | 598 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))) |
599 | 599 |
600 call assert_fails('call reverse("")', 'E898:') | 600 call assert_fails('call reverse("")', 'E899:') |
601 endfunc | 601 endfunc |
602 | 602 |
603 " splitting a string to a List | 603 " splitting a string to a List |
604 func Test_str_split() | 604 func Test_str_split() |
605 call assert_equal(['aa', 'bb'], split(' aa bb ')) | 605 call assert_equal(['aa', 'bb'], split(' aa bb ')) |