test(build): update userspace unit test.

This commit is contained in:
Alexandre Pujol 2024-07-15 23:18:04 +01:00
parent 6cd01064ae
commit 960135e593
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -228,14 +228,8 @@ func TestBuilder_Apply(t *testing.T) {
include if exists <local/foo>
}`,
want: `
profile foo /usr/bin/foo {
include <abstractions/base>
/usr/bin/foo mr,
include if exists <local/foo>
}`,
want: "",
wantErr: true,
},
}
for _, tt := range tests {