Skip to content

Commit 5a2800f

Browse files
committed
patch 7.4.1548
Problem: Two tests fail. Solution: Adjust the expected error number. Remove check for type.
1 parent 385111b commit 5a2800f

4 files changed

Lines changed: 3 additions & 14 deletions

File tree

src/testdir/test101.ok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ start:
99
0:not highlighted
1010
1:highlighted
1111
0:not highlighted
12-
Vim(let):E706:
12+
Vim(let):E745:

src/testdir/test55.in

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,6 @@ STARTTEST
5959
: $put =v:exception
6060
:endtry
6161
:"
62-
:" Changing var type should fail
63-
:try
64-
: let d = []
65-
:catch
66-
: $put =v:exception[:14] . v:exception[-1:-1]
67-
:endtry
68-
:try
69-
: let l = {}
70-
:catch
71-
: $put =v:exception[:14] . v:exception[-1:-1]
72-
:endtry
7362
:"
7463
:" removing items with :unlet
7564
:unlet l[2]

src/testdir/test55.ok

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ Vim(call):E737: 3
1919
{'c': 'ccc', '1': 99, 'b': [1, 2, function('strlen')], '3': 33, '-1': {'a': 1}}
2020
{'c': 'ccc', '1': 99, '3': 33, '-1': {'a': 1}}
2121
101101
22-
Vim(let):E706: d
23-
Vim(let):E706: l
2422
[1, 'as''d', {'a': 1}]
2523
[4]
2624
{'1': 99, '3': 33}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1548,
746748
/**/
747749
1547,
748750
/**/

0 commit comments

Comments
 (0)