Commit: patch 9.1.0350: tests: test_vim9_dissamble may fail

3 views
Skip to first unread message

Christian Brabandt

unread,
Apr 18, 2024, 4:15:10 PM4/18/24
to vim...@googlegroups.com
patch 9.1.0350: tests: test_vim9_dissamble may fail

Commit: https://github.com/vim/vim/commit/1fa22e3ad67d9df48b397076ed2632de41a76244
Author: Julio B <julio...@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...@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,
/**/
Reply all
Reply to author
Forward
0 new messages