mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-01 04:22:36 +08:00 
			
		
		
		
	use a more modern writing style to simplify code (#7182)
Signed-off-by: joemicky <joemickychang@outlook.com> Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
		| @ -207,7 +207,7 @@ func TestETags(t *testing.T) { | ||||
| } | ||||
|  | ||||
| func BenchmarkLoad(b *testing.B) { | ||||
| 	for i := 0; i < b.N; i++ { | ||||
| 	for b.Loop() { | ||||
| 		Load(testCfg, true) | ||||
| 	} | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 joemicky
					joemicky