Mercurial > vim
changeset 28251:9d90eef65a46 v8.2.4651
patch 8.2.4651: test fails because path differs
Commit: https://github.com/vim/vim/commit/1712518f4808eb0bb59c8895aa0c17c3f04572a7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 30 21:57:50 2022 +0100
patch 8.2.4651: test fails because path differs
Problem: Test fails because path differs.
Solution: Only compare the tail of the path.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Mar 2022 23:00:03 +0200 |
parents | efcfbd8ca1ea |
children | f22ba39cf328 |
files | src/testdir/test_vim9_disassemble.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_vim9_disassemble.vim +++ b/src/testdir/test_vim9_disassemble.vim @@ -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*' ..