vim-patch:7.4.1548

Problem:    Two tests fail.
Solution:   Adjust the expected error number. Remove check for type.

5a2800fd14
This commit is contained in:
Patrick 2016-07-13 17:56:58 +10:00
parent a3dc7ef445
commit 98fb0f12c4
3 changed files with 2 additions and 25 deletions

View File

@ -151,7 +151,7 @@ static int included_patches[] = {
1551,
1550,
// 1549,
// 1548,
1548,
// 1547,
1546,
// 1545 NA

View File

@ -112,29 +112,6 @@ describe('list and dictionary types', function()
expect('\n101101')
end)
it('changing var type should fail', function()
source([[
lang C
" The list from the first test repeated after splitting the tests.
let l = [1, 'as''d', [1, 2, function("strlen")], {'a': 1},]
" The dict from the first test repeated after splitting the tests.
let d = {'c': 'ccc', '1': 99, '3': 33, '-1': {'a': 1}}
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]])
expect([[
Vim(let):E706: d
Vim(let):E706: l]])
end)
it('removing items with :unlet', function()
source([[
lang C

View File

@ -61,6 +61,6 @@ describe('v:hlsearch', function()
0:not highlighted
1:highlighted
0:not highlighted
Vim(let):E706:]])
Vim(let):E745:]])
end)
end)