Skip to content

Commit 6d96712

Browse files
committed
patch 8.2.1925: list/dict test fails
Problem: List/dict test fails. Solution: Correct expected exception.
1 parent 086fc9a commit 6d96712

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_listdict.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ func Test_dict_big()
241241
try
242242
let n = d[1500]
243243
catch
244-
let str=substitute(v:exception, '\v(.{14}).*( \d{4}).*', '\1\2', '')
244+
let str = substitute(v:exception, '\v(.{14}).*( "\d{4}").*', '\1\2', '')
245245
endtry
246-
call assert_equal('Vim(let):E716: 1500', str)
246+
call assert_equal('Vim(let):E716: "1500"', str)
247247

248248
" lookup each items
249249
for i in range(1500)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
1925,
753755
/**/
754756
1924,
755757
/**/

0 commit comments

Comments
 (0)