changeset 8516:14ab6c685581 v7.4.1548

commit https://github.com/vim/vim/commit/5a2800fd141a8fc0c80cdf421dcb76001a22327f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 12 19:33:49 2016 +0100 patch 7.4.1548 Problem: Two tests fail. Solution: Adjust the expected error number. Remove check for type.
author Christian Brabandt <cb@256bit.org>
date Sat, 12 Mar 2016 19:45:04 +0100
parents 8a5f122f70f9
children 6dfd76e21fba
files src/testdir/test101.ok src/testdir/test55.in src/testdir/test55.ok src/version.c
diffstat 4 files changed, 3 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test101.ok
+++ b/src/testdir/test101.ok
@@ -9,4 +9,4 @@ 1:highlighted
 0:not highlighted
 1:highlighted
 0:not highlighted
-Vim(let):E706:
+Vim(let):E745:
--- a/src/testdir/test55.in
+++ b/src/testdir/test55.in
@@ -59,17 +59,6 @@ STARTTEST
 :  $put =v:exception
 :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
 :unlet l[2]
--- a/src/testdir/test55.ok
+++ b/src/testdir/test55.ok
@@ -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, '3': 33, '-1': {'a': 1}}
 101101
-Vim(let):E706: d
-Vim(let):E706: l
 [1, 'as''d', {'a': 1}]
 [4]
 {'1': 99, '3': 33}
--- a/src/version.c
+++ b/src/version.c
@@ -744,6 +744,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1548,
+/**/
     1547,
 /**/
     1546,