fix(build): ensure tests work.

This commit is contained in:
Alexandre Pujol 2024-03-27 16:26:01 +00:00
parent b88b8b8c26
commit cf7ce9603e
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 17 additions and 7 deletions

View file

@ -121,13 +121,13 @@ func TestCopyTo(t *testing.T) {
{
name: "default",
src: paths.New("../../apparmor.d/groups/_full/"),
dst: paths.New("../../.build/apparmor.d/groups/_full/"),
dst: paths.New("/tmp/test/apparmor.d/groups/_full/"),
wantErr: false,
},
{
name: "issue-source",
src: paths.New("../../apparmor.d/groups/nope/"),
dst: paths.New("../../.build/apparmor.d/groups/_full/"),
dst: paths.New("/tmp/test/apparmor.d/groups/_full/"),
wantErr: true,
},
{