patch 9.1.0350: tests: test_vim9_dissamble may fail Commit: https://github.com/vim/vim/commit/1fa22e3ad67d9df48b397076ed2632de41a76244 Author: Julio B <julio.ba...@gmail.com> Date: Thu Apr 18 22:05:12 2024 +0200
patch 9.1.0350: tests: test_vim9_dissamble may fail Problem: tests: test_vim9_dissamble may fail Solution: Instead of hard-coding the lambda number, accept just any number (Julio B) closes: #14581 Signed-off-by: Julio B <julio.ba...@gmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/testdir/test_vim9_disassemble.vim b/src/testdir/test_vim9_disassemble.vim index 1daef222d..92a4ff2a6 100644 --- a/src/testdir/test_vim9_disassemble.vim +++ b/src/testdir/test_vim9_disassemble.vim @@ -1030,7 +1030,7 @@ def Test_disassemble_closure_in_loop() 'endif\_s*' .. 'g:Ref = () => ii\_s*' .. - '\d\+ FUNCREF <lambda>4 vars $3-$3\_s*' .. + '\d\+ FUNCREF <lambda>\d\+ vars $3-$3\_s*' .. '\d\+ STOREG g:Ref\_s*' .. 'continue\_s*' .. diff --git a/src/version.c b/src/version.c index c32f51bfb..3754073e7 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 350, /**/ 349, /**/ -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1rxY9u-000sb0-TZ%40256bit.org.