Fix typos
Found via `codespell -L shs,hastable,userr`
This commit is contained in:
parent
7fce5065c4
commit
3123d5286b
6 changed files with 13 additions and 13 deletions
|
|
@ -412,7 +412,7 @@ func TestUnmarshalPolicy(t *testing.T) {
|
|||
`,
|
||||
wantErr: `Hostname "derp" contains an invalid IP address: "10.0/42"`,
|
||||
},
|
||||
// TODO(kradalby): Figure out why this doesnt work.
|
||||
// TODO(kradalby): Figure out why this doesn't work.
|
||||
// {
|
||||
// name: "invalid-hostname",
|
||||
// input: `
|
||||
|
|
@ -1074,7 +1074,7 @@ func TestResolvePolicy(t *testing.T) {
|
|||
ForcedTags: []string{"tag:anything"},
|
||||
IPv4: ap("100.100.101.2"),
|
||||
},
|
||||
// not matchin pak tag
|
||||
// not matching pak tag
|
||||
{
|
||||
User: users["testuser"],
|
||||
AuthKey: &types.PreAuthKey{
|
||||
|
|
@ -1108,7 +1108,7 @@ func TestResolvePolicy(t *testing.T) {
|
|||
ForcedTags: []string{"tag:anything"},
|
||||
IPv4: ap("100.100.101.5"),
|
||||
},
|
||||
// not matchin pak tag
|
||||
// not matching pak tag
|
||||
{
|
||||
User: users["groupuser"],
|
||||
AuthKey: &types.PreAuthKey{
|
||||
|
|
@ -1147,7 +1147,7 @@ func TestResolvePolicy(t *testing.T) {
|
|||
ForcedTags: []string{"tag:anything"},
|
||||
IPv4: ap("100.100.101.10"),
|
||||
},
|
||||
// not matchin pak tag
|
||||
// not matching pak tag
|
||||
{
|
||||
AuthKey: &types.PreAuthKey{
|
||||
Tags: []string{"tag:alsotagged"},
|
||||
|
|
@ -1159,7 +1159,7 @@ func TestResolvePolicy(t *testing.T) {
|
|||
ForcedTags: []string{"tag:test"},
|
||||
IPv4: ap("100.100.101.234"),
|
||||
},
|
||||
// not matchin pak tag
|
||||
// not matching pak tag
|
||||
{
|
||||
AuthKey: &types.PreAuthKey{
|
||||
Tags: []string{"tag:test"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue