aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/caddyhttp/reverseproxy/selectionpolicies_test.go2
-rw-r--r--modules/caddytls/connpolicy_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/reverseproxy/selectionpolicies_test.go b/modules/caddyhttp/reverseproxy/selectionpolicies_test.go
index 1adb1cb2b..a4701ce86 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 573b9c163..0caed2899 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 {