mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 15:21:07 +00:00 
			
		
		
		
	chore: Fix warning "range variable captured by func literal" (#5348)
This commit is contained in:
		
							parent
							
								
									0a3efd1641
								
							
						
					
					
						commit
						201b9b41f9
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -929,6 +929,7 @@ func TestVarREMatcher(t *testing.T) {
 | 
			
		|||
			expect: true,
 | 
			
		||||
		},
 | 
			
		||||
	} {
 | 
			
		||||
		i := i   // capture range value
 | 
			
		||||
		tc := tc // capture range value
 | 
			
		||||
		t.Run(tc.desc, func(t *testing.T) {
 | 
			
		||||
			t.Parallel()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue