# HG changeset patch # User Christian Brabandt # Date 1713471302 -7200 # Node ID 9f340fcf7117a028cd89f00763469cef46e779b0 # Parent a563689fc15cda4fe1c77daf85b4e69f8b855dae patch 9.1.0350: tests: test_vim9_dissamble may fail Commit: https://github.com/vim/vim/commit/1fa22e3ad67d9df48b397076ed2632de41a76244 Author: Julio B 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 Signed-off-by: Christian Brabandt diff --git a/src/testdir/test_vim9_disassemble.vim b/src/testdir/test_vim9_disassemble.vim --- 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 4 vars $3-$3\_s*' .. + '\d\+ FUNCREF \d\+ vars $3-$3\_s*' .. '\d\+ STOREG g:Ref\_s*' .. 'continue\_s*' .. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 350, +/**/ 349, /**/ 348,