Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 14:30 UTC
modules: fix some typo in conments (#6206)
Signed-off-by: reallylowest <sunjinping@outlook.com>
reallylowest committed
Mar 30, 2024 at 10:45 UTC
e0bf179c1a0ee2fd6847ebb443ddd36fe8fc5421
2 files changed
+2
-2
modules/caddyhttp/reverseproxy/selectionpolicies_test.go
+1
-1
@@ -120,7 +120,7 @@ func TestWeightedRoundRobinPolicy(t *testing.T) {
120
121
h = wrrPolicy.Select(pool, req, nil)
122
if h != pool[0] {
123
- t.Error("Expected to select first host on availablity.")
123
+ t.Error("Expected to select first host on availability.")
124
}
125
// mark host as full
126
pool[1].countRequest(1)
modules/caddytls/connpolicy_test.go
+1
-1
@@ -145,7 +145,7 @@ func TestClientAuthenticationUnmarshalCaddyfileWithDirectiveName(t *testing.T) {
145
wantErr: true,
146
},
147
{
148
- name: "using 'trusted_ca_cert' adapts sucessfully",
148
+ name: "using 'trusted_ca_cert' adapts successfully",
149
args: args{
150
d: caddyfile.NewTestDispenser(fmt.Sprintf(`
151
client_auth {