]> granicus.if.org Git - vim/commitdiff
patch 8.2.1925: list/dict test fails v8.2.1925
authorBram Moolenaar <Bram@vim.org>
Fri, 30 Oct 2020 18:06:18 +0000 (19:06 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 30 Oct 2020 18:06:18 +0000 (19:06 +0100)
Problem:    List/dict test fails.
Solution:   Correct expected exception.

src/testdir/test_listdict.vim
src/version.c

index 9085c6e006e7364c6eb150bd1e1dfbf244973c4d..ade37f8c0c6500db6c1ec76d4a922ba94c6e9d72 100644 (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)
index 0da78888bd06aee56b6e25df6d7221b7b3ba3bff..abdebda361b1e316e3cd63c3048de2e1c2eca788 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1925,
 /**/
     1924,
 /**/