mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 10:12:29 +08:00 
			
		
		
		
	caddyhttp: omit unnecessary reassignment (#7276)
Signed-off-by: asttool <asttool@outlook.com>
This commit is contained in:
		@ -992,7 +992,6 @@ func TestVarREMatcher(t *testing.T) {
 | 
				
			|||||||
			expect: true,
 | 
								expect: true,
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
	} {
 | 
						} {
 | 
				
			||||||
		tc := tc // capture range value
 | 
					 | 
				
			||||||
		t.Run(tc.desc, func(t *testing.T) {
 | 
							t.Run(tc.desc, func(t *testing.T) {
 | 
				
			||||||
			t.Parallel()
 | 
								t.Parallel()
 | 
				
			||||||
			// compile the regexp and validate its name
 | 
								// compile the regexp and validate its name
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user