mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.1822: list test doesn't fail
Problem: List test doesn't fail. Solution: Adjust the test for NULL list handling.
This commit is contained in:
parent
1a73923705
commit
f57497276b
@ -1007,8 +1007,10 @@ func Test_null_list()
|
||||
call assert_equal('[]', string(l))
|
||||
call assert_equal(0, sort(l))
|
||||
call assert_equal(0, uniq(l))
|
||||
call assert_fails("let k = [] + l", 'E15:')
|
||||
call assert_fails("let k = l + []", 'E15:')
|
||||
let k = [] + l
|
||||
call assert_equal([], k)
|
||||
let k = l + []
|
||||
call assert_equal([], k)
|
||||
call assert_equal(0, len(copy(l)))
|
||||
call assert_equal(0, count(l, 5))
|
||||
call assert_equal([], deepcopy(l))
|
||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1822,
|
||||
/**/
|
||||
1821,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user