comparison src/testdir/test_vim9_disassemble.vim @ 34989:9f340fcf7117 v9.1.0350

patch 9.1.0350: tests: test_vim9_dissamble may fail Commit: https://github.com/vim/vim/commit/1fa22e3ad67d9df48b397076ed2632de41a76244 Author: Julio B <julio.bacel@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.bacel@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 18 Apr 2024 22:15:02 +0200
parents 7ff3c277377f
children 5df4ad0a5200
comparison
equal deleted inserted replaced
34988:a563689fc15c 34989:9f340fcf7117
1028 '\d\+ PUSHNR 0\_s*' .. 1028 '\d\+ PUSHNR 0\_s*' ..
1029 '\d\+ RETURN\_s*' .. 1029 '\d\+ RETURN\_s*' ..
1030 1030
1031 'endif\_s*' .. 1031 'endif\_s*' ..
1032 'g:Ref = () => ii\_s*' .. 1032 'g:Ref = () => ii\_s*' ..
1033 '\d\+ FUNCREF <lambda>4 vars $3-$3\_s*' .. 1033 '\d\+ FUNCREF <lambda>\d\+ vars $3-$3\_s*' ..
1034 '\d\+ STOREG g:Ref\_s*' .. 1034 '\d\+ STOREG g:Ref\_s*' ..
1035 1035
1036 'continue\_s*' .. 1036 'continue\_s*' ..
1037 '\d\+ ENDLOOP ref $1 save $3-$3 depth 0\_s*' .. 1037 '\d\+ ENDLOOP ref $1 save $3-$3 depth 0\_s*' ..
1038 '\d\+ JUMP -> \d\+\_s*' .. 1038 '\d\+ JUMP -> \d\+\_s*' ..