0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.1548

Problem:    Two tests fail.
Solution:   Adjust the expected error number. Remove check for type.
This commit is contained in:
Bram Moolenaar
2016-03-12 19:33:49 +01:00
parent 385111bd86
commit 5a2800fd14
4 changed files with 3 additions and 14 deletions

View File

@@ -9,4 +9,4 @@ start:
0:not highlighted 0:not highlighted
1:highlighted 1:highlighted
0:not highlighted 0:not highlighted
Vim(let):E706: Vim(let):E745:

View File

@@ -59,17 +59,6 @@ STARTTEST
: $put =v:exception : $put =v:exception
:endtry :endtry
:" :"
:" Changing var type should fail
:try
: let d = []
:catch
: $put =v:exception[:14] . v:exception[-1:-1]
:endtry
:try
: let l = {}
:catch
: $put =v:exception[:14] . v:exception[-1:-1]
:endtry
:" :"
:" removing items with :unlet :" removing items with :unlet
:unlet l[2] :unlet l[2]

View File

@@ -19,8 +19,6 @@ Vim(call):E737: 3
{'c': 'ccc', '1': 99, 'b': [1, 2, function('strlen')], '3': 33, '-1': {'a': 1}} {'c': 'ccc', '1': 99, 'b': [1, 2, function('strlen')], '3': 33, '-1': {'a': 1}}
{'c': 'ccc', '1': 99, '3': 33, '-1': {'a': 1}} {'c': 'ccc', '1': 99, '3': 33, '-1': {'a': 1}}
101101 101101
Vim(let):E706: d
Vim(let):E706: l
[1, 'as''d', {'a': 1}] [1, 'as''d', {'a': 1}]
[4] [4]
{'1': 99, '3': 33} {'1': 99, '3': 33}

View File

@@ -743,6 +743,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 */
/**/
1548,
/**/ /**/
1547, 1547,
/**/ /**/