feat(aa-log): an empty profile now return empty string.
This commit is contained in:
parent
48b39fa816
commit
1bc63becaf
2 changed files with 19 additions and 17 deletions
|
|
@ -37,9 +37,7 @@ func TestAppArmorProfile_String(t *testing.T) {
|
|||
{
|
||||
name: "empty",
|
||||
p: &AppArmorProfile{},
|
||||
want: `profile {
|
||||
}
|
||||
`,
|
||||
want: ``,
|
||||
},
|
||||
{
|
||||
name: "foo",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue