diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-23 15:27:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-23 15:27:09 +0100 |
commit | 40be52ba71b9d6a7f586b1e77db8e827ff4c0c42 (patch) | |
tree | d12bff9e9afacc4e491480f3d9614447a327a796 | |
parent | dfbc5fd879d92c2a79ced1e1d16dc89f4d55772d (diff) | |
download | vim-git-40be52ba71b9d6a7f586b1e77db8e827ff4c0c42.tar.gz |
patch 8.2.2398: method test failsv8.2.2398
Problem: Method test fails.
Solution: Adjust test for allowed white space.
-rw-r--r-- | src/testdir/test_method.vim | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/testdir/test_method.vim b/src/testdir/test_method.vim index 0d55f2a89..262c08c79 100644 --- a/src/testdir/test_method.vim +++ b/src/testdir/test_method.vim @@ -131,9 +131,11 @@ func Test_method_syntax() eval [1, 2, 3] \ ->sort( \ ) - call assert_fails('eval [1, 2, 3]-> sort()', 'E15:') + eval [1, 2, 3]-> sort() + call assert_fails('eval [1, 2, 3]->sort ()', 'E274:') - call assert_fails('eval [1, 2, 3]-> sort ()', 'E15:') + call assert_fails('eval [1, 2, 3] ->sort ()', 'E274:') + call assert_fails('eval [1, 2, 3]-> sort ()', 'E274:') endfunc func Test_method_lambda() diff --git a/src/version.c b/src/version.c index f63f999e1..568756b39 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2398, +/**/ 2397, /**/ 2396, |