]> granicus.if.org Git - vim/commitdiff
patch 8.2.4651: test fails because path differs v8.2.4651
authorBram Moolenaar <Bram@vim.org>
Wed, 30 Mar 2022 20:57:50 +0000 (21:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 30 Mar 2022 20:57:50 +0000 (21:57 +0100)
Problem:    Test fails because path differs.
Solution:   Only compare the tail of the path.

src/testdir/test_vim9_disassemble.vim
src/version.c

index 5f62a8355f0f695f030489298c530e40c1b26b41..e55e38e939fef3ee79a34398cfafdacadda86195 100644 (file)
@@ -334,7 +334,7 @@ def Test_disassemble_import_autoload()
       var res = execute('disass AutoloadFunc')
       assert_match('<SNR>\d*_AutoloadFunc.*' ..
             'echo XimportAL.SomeFunc()\_s*' ..
-            '\d SOURCE /home/mool/vim/vim82/src/testdir/XimportAL.vim\_s*' ..
+            '\d SOURCE .*/testdir/XimportAL.vim\_s*' ..
             '\d PUSHFUNC "<80><fd>R\d\+_SomeFunc"\_s*' ..
             '\d PCALL top (argc 0)\_s*' ..
             '\d PCALL end\_s*' ..
index 42be6e70919983e3a79ffcc89f336a452e028063..fdc4ae3c56683cc3d8b9e17cba2245fa53229533 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4651,
 /**/
     4650,
 /**/