0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.2723: assignment test fails

Problem:    Assignment test fails.
Solution:   Adjust error number.
This commit is contained in:
Bram Moolenaar
2021-04-05 20:59:41 +02:00
parent b9c0cd897a
commit 58fb7c39a0
2 changed files with 3 additions and 1 deletions

View File

@@ -299,7 +299,7 @@ func Test_let_errors()
call assert_fails('let l[:][0] = [5]', 'E708:') call assert_fails('let l[:][0] = [5]', 'E708:')
let d = {'k' : 4} let d = {'k' : 4}
call assert_fails('let d.# = 5', 'E488:') call assert_fails('let d.# = 5', 'E488:')
call assert_fails('let d.m += 5', 'E734:') call assert_fails('let d.m += 5', 'E716:')
call assert_fails('let m = d[{]', 'E15:') call assert_fails('let m = d[{]', 'E15:')
let l = [1, 2] let l = [1, 2]
call assert_fails('let l[2] = 0', 'E684:') call assert_fails('let l[2] = 0', 'E684:')

View File

@@ -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 */
/**/
2723,
/**/ /**/
2722, 2722,
/**/ /**/