patch 9.0.0839: test may fail depending on sequence of events
Problem:    Test may fail depending on sequence of events.
Solution:   Accept error codes in either order. (Yee Cheng Chin,
            closes #11510)
			
			
This commit is contained in:
		
				
					committed by
					
						 Bram Moolenaar
						Bram Moolenaar
					
				
			
			
				
	
			
			
			
						parent
						
							a25f718431
						
					
				
				
					commit
					69a8bb8dc1
				
			| @ -4087,7 +4087,8 @@ def Test_no_unknown_error_after_error() | ||||
|       endfor | ||||
|   END | ||||
|   writefile(lines, 'Xdef', 'D') | ||||
|   assert_fails('so Xdef', ['E684:', 'E1012:']) | ||||
|   # Either the exit or out callback is called first, accept them in any order | ||||
|   assert_fails('so Xdef', ['E684:\|E1012:', 'E1012:\|E684:']) | ||||
| enddef | ||||
|  | ||||
| def InvokeNormal() | ||||
|  | ||||
| @ -695,6 +695,8 @@ static char *(features[]) = | ||||
|  | ||||
| static int included_patches[] = | ||||
| {   /* Add new patch number below this line */ | ||||
| /**/ | ||||
|     839, | ||||
| /**/ | ||||
|     838, | ||||
| /**/ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user