mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 14:13:48 +03:00
modules: fix some typo in conments (#6206)
Signed-off-by: reallylowest <sunjinping@outlook.com>
This commit is contained in:
parent
7b48ce0e7e
commit
e0bf179c1a
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ func TestWeightedRoundRobinPolicy(t *testing.T) {
|
||||||
|
|
||||||
h = wrrPolicy.Select(pool, req, nil)
|
h = wrrPolicy.Select(pool, req, nil)
|
||||||
if h != pool[0] {
|
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
|
// mark host as full
|
||||||
pool[1].countRequest(1)
|
pool[1].countRequest(1)
|
||||||
|
|
|
@ -145,7 +145,7 @@ func TestClientAuthenticationUnmarshalCaddyfileWithDirectiveName(t *testing.T) {
|
||||||
wantErr: true,
|
wantErr: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "using 'trusted_ca_cert' adapts sucessfully",
|
name: "using 'trusted_ca_cert' adapts successfully",
|
||||||
args: args{
|
args: args{
|
||||||
d: caddyfile.NewTestDispenser(fmt.Sprintf(`
|
d: caddyfile.NewTestDispenser(fmt.Sprintf(`
|
||||||
client_auth {
|
client_auth {
|
||||||
|
|
Loading…
Reference in a new issue