modules: fix some typo in conments (#6206)

Signed-off-by: reallylowest <sunjinping@outlook.com>
This commit is contained in:
reallylowest 2024-03-30 10:45:42 +08:00 committed by GitHub
parent 7b48ce0e7e
commit e0bf179c1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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 {