mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 03:27:23 -05:00 
			
		
		
		
	modules: fix some typo in conments (#6206)
Signed-off-by: reallylowest <sunjinping@outlook.com>
This commit is contained in:
		
							parent
							
								
									7b48ce0e7e
								
							
						
					
					
						commit
						e0bf179c1a
					
				@ -120,7 +120,7 @@ func TestWeightedRoundRobinPolicy(t *testing.T) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	h = wrrPolicy.Select(pool, req, nil)
 | 
						h = wrrPolicy.Select(pool, req, nil)
 | 
				
			||||||
	if h != pool[0] {
 | 
						if h != pool[0] {
 | 
				
			||||||
		t.Error("Expected to select first host on availablity.")
 | 
							t.Error("Expected to select first host on availability.")
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	// mark host as full
 | 
						// mark host as full
 | 
				
			||||||
	pool[1].countRequest(1)
 | 
						pool[1].countRequest(1)
 | 
				
			||||||
 | 
				
			|||||||
@ -145,7 +145,7 @@ func TestClientAuthenticationUnmarshalCaddyfileWithDirectiveName(t *testing.T) {
 | 
				
			|||||||
			wantErr: true,
 | 
								wantErr: true,
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			name: "using 'trusted_ca_cert' adapts sucessfully",
 | 
								name: "using 'trusted_ca_cert' adapts successfully",
 | 
				
			||||||
			args: args{
 | 
								args: args{
 | 
				
			||||||
				d: caddyfile.NewTestDispenser(fmt.Sprintf(`
 | 
									d: caddyfile.NewTestDispenser(fmt.Sprintf(`
 | 
				
			||||||
				client_auth {
 | 
									client_auth {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user