mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 21:53:48 +03:00
modules: fix some typo in conments (#6206)
Signed-off-by: reallylowest <sunjinping@outlook.com>
This commit is contained in:
parent
7b48ce0e7e
commit
e0bf179c1a
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue