mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00: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:
@@ -151,7 +151,7 @@ static int included_patches[] = {
|
|||||||
1551,
|
1551,
|
||||||
1550,
|
1550,
|
||||||
// 1549,
|
// 1549,
|
||||||
// 1548,
|
1548,
|
||||||
// 1547,
|
// 1547,
|
||||||
1546,
|
1546,
|
||||||
// 1545 NA
|
// 1545 NA
|
||||||
|
@@ -112,29 +112,6 @@ describe('list and dictionary types', function()
|
|||||||
expect('\n101101')
|
expect('\n101101')
|
||||||
end)
|
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()
|
it('removing items with :unlet', function()
|
||||||
source([[
|
source([[
|
||||||
lang C
|
lang C
|
||||||
|
@@ -61,6 +61,6 @@ describe('v:hlsearch', function()
|
|||||||
0:not highlighted
|
0:not highlighted
|
||||||
1:highlighted
|
1:highlighted
|
||||||
0:not highlighted
|
0:not highlighted
|
||||||
Vim(let):E706:]])
|
Vim(let):E745:]])
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
Reference in New Issue
Block a user