1
0
forked from aniani/vim

patch 8.2.1925: list/dict test fails

Problem:    List/dict test fails.
Solution:   Correct expected exception.
This commit is contained in:
Bram Moolenaar
2020-10-30 19:06:18 +01:00
parent 086fc9a585
commit 6d967125ad
2 changed files with 4 additions and 2 deletions

View File

@@ -241,9 +241,9 @@ func Test_dict_big()
try
let n = d[1500]
catch
let str=substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')
let str = substitute(v:exception, '\v(.{14}).*( "\d{4}").*', '\1\2', '')
endtry
call assert_equal('Vim(let):E716: 1500', str)
call assert_equal('Vim(let):E716: "1500"', str)
" lookup each items
for i in range(1500)

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1925,
/**/
1924,
/**/