diff options
author | reallylowest <[email protected]> | 2024-03-30 10:45:42 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-30 02:45:42 +0000 |
commit | e0bf179c1a0ee2fd6847ebb443ddd36fe8fc5421 (patch) | |
tree | e633bab8b925fd48b23c4a1656e69cb8e6e91bf9 | |
parent | 7b48ce0e7e397e024eac9b542d00b103040ef6b6 (diff) | |
download | caddy-e0bf179c1a0ee2fd6847ebb443ddd36fe8fc5421.tar.gz caddy-e0bf179c1a0ee2fd6847ebb443ddd36fe8fc5421.zip |
modules: fix some typo in conments (#6206)
Signed-off-by: reallylowest <[email protected]>
-rw-r--r-- | modules/caddyhttp/reverseproxy/selectionpolicies_test.go | 2 | ||||
-rw-r--r-- | modules/caddytls/connpolicy_test.go | 2 |
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 { |