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:
@@ -131,9 +131,11 @@ func Test_method_syntax()
|
|||||||
eval [1, 2, 3]
|
eval [1, 2, 3]
|
||||||
\ ->sort(
|
\ ->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 ()', '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
|
endfunc
|
||||||
|
|
||||||
func Test_method_lambda()
|
func Test_method_lambda()
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2398,
|
||||||
/**/
|
/**/
|
||||||
2397,
|
2397,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user