mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-23 07:12:19 +08: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)
|
||||
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
|
||||
pool[1].countRequest(1)
|
||||
|
|
|
@ -145,7 +145,7 @@ func TestClientAuthenticationUnmarshalCaddyfileWithDirectiveName(t *testing.T) {
|
|||
wantErr: true,
|
||||
},
|
||||
{
|
||||
name: "using 'trusted_ca_cert' adapts sucessfully",
|
||||
name: "using 'trusted_ca_cert' adapts successfully",
|
||||
args: args{
|
||||
d: caddyfile.NewTestDispenser(fmt.Sprintf(`
|
||||
client_auth {
|
||||
|
|
Loading…
Reference in New Issue
Block a user