fix: add valid test identified by linter

This commit is contained in:
Adrien Raffin-Caboisse committed 2022-02-23 14:28:25 +01:00
1 parent 046116656b
commit ae6a20e4d9
2 files changed
+12 -3

No files matched your search

+9
View File
@@ -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{