feat(aa-log): an empty profile now return empty string.

This commit is contained in:
Alexandre Pujol 2024-02-24 17:01:03 +00:00
parent 48b39fa816
commit 1bc63becaf
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 19 additions and 17 deletions

View file

@ -37,9 +37,7 @@ func TestAppArmorProfile_String(t *testing.T) {
{
name: "empty",
p: &AppArmorProfile{},
want: `profile {
}
`,
want: ``,
},
{
name: "foo",