mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
a3dc7ef445
commit
98fb0f12c4
@ -151,7 +151,7 @@ static int included_patches[] = {
|
||||
1551,
|
||||
1550,
|
||||
// 1549,
|
||||
// 1548,
|
||||
1548,
|
||||
// 1547,
|
||||
1546,
|
||||
// 1545 NA
|
||||
|
@ -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
|
||||
|
@ -61,6 +61,6 @@ describe('v:hlsearch', function()
|
||||
0:not highlighted
|
||||
1:highlighted
|
||||
0:not highlighted
|
||||
Vim(let):E706:]])
|
||||
Vim(let):E745:]])
|
||||
end)
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user