Skip to content

Commit

Permalink
modules: fix some typo in conments (#6206)
Browse files Browse the repository at this point in the history
Signed-off-by: reallylowest <sunjinping@outlook.com>
  • Loading branch information
reallylowest committed Mar 30, 2024
1 parent 7b48ce0 commit e0bf179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/caddyhttp/reverseproxy/selectionpolicies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion modules/caddytls/connpolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e0bf179

Please sign in to comment.