0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.2398: method test fails

Problem:    Method test fails.
Solution:   Adjust test for allowed white space.
This commit is contained in:
Bram Moolenaar
2021-01-23 15:27:09 +01:00
parent dfbc5fd879
commit 40be52ba71
2 changed files with 6 additions and 2 deletions

View File

@@ -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()

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2398,
/**/
2397,
/**/