mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 15:27:37 +00:00
Fix typos
Found via `codespell -L shs,hastable,userr`
This commit is contained in:
@@ -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"},
|
||||
|
Reference in New Issue
Block a user