diff --git a/modules/caddyhttp/reverseproxy/selectionpolicies_test.go b/modules/caddyhttp/reverseproxy/selectionpolicies_test.go index 1adb1cb2..a4701ce8 100644 --- a/modules/caddyhttp/reverseproxy/selectionpolicies_test.go +++ b/modules/caddyhttp/reverseproxy/selectionpolicies_test.go @@ -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) diff --git a/modules/caddytls/connpolicy_test.go b/modules/caddytls/connpolicy_test.go index 573b9c16..0caed289 100644 --- a/modules/caddytls/connpolicy_test.go +++ b/modules/caddytls/connpolicy_test.go @@ -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 {