mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-29 05:18:48 -05:00
fix: add valid test identified by linter
This commit is contained in:
@@ -280,6 +280,15 @@ func TestNormalizeNamespaceName(t *testing.T) {
|
||||
want: "foo.bar",
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "strip enabled no email passed as argument",
|
||||
args: args{
|
||||
name: "not-email-and-strip-enabled",
|
||||
stripEmailDomain: true,
|
||||
},
|
||||
want: "not-email-and-strip-enabled",
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "normalize complex email",
|
||||
args: args{
|
||||
|
||||
Reference in New Issue
Block a user