fix(build): ensure tests work.
This commit is contained in:
parent
b88b8b8c26
commit
cf7ce9603e
7 changed files with 17 additions and 7 deletions
|
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue