mirror of
				https://github.com/vim/vim.git
				synced 2025-11-03 09:44:48 -05:00 
			
		
		
		
	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>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Christian Brabandt
					
				
			
			
				
	
			
			
			
						parent
						
							76ba252e61
						
					
				
				
					commit
					1fa22e3ad6
				
			@@ -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*' ..
 | 
			
		||||
 
 | 
			
		||||
@@ -704,6 +704,8 @@ static char *(features[]) =
 | 
			
		||||
 | 
			
		||||
static int included_patches[] =
 | 
			
		||||
{   /* Add new patch number below this line */
 | 
			
		||||
/**/
 | 
			
		||||
    350,
 | 
			
		||||
/**/
 | 
			
		||||
    349,
 | 
			
		||||
/**/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user