Problem: Test fails because path differs.
Solution: Only compare the tail of the path.
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*' ..
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4651,
/**/
4650,
/**/