diff options
Diffstat (limited to 'internal/pkg/exec_test.go')
| -rw-r--r-- | internal/pkg/exec_test.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/internal/pkg/exec_test.go b/internal/pkg/exec_test.go index 558ab39b..b2fad602 100644 --- a/internal/pkg/exec_test.go +++ b/internal/pkg/exec_test.go @@ -11,6 +11,7 @@ import ( "os/exec" "slices" "testing" + "unique" "hakurei.app/container/check" "hakurei.app/container/stub" @@ -74,7 +75,14 @@ func TestExec(t *testing.T) { return stub.UniqueError(0xcafe) }, }), - ), nil, pkg.Checksum{}, errors.Join(stub.UniqueError(0xcafe))}, + ), nil, pkg.Checksum{}, &pkg.DependencyCureError{ + { + Ident: unique.Make(pkg.ID(pkg.MustDecode( + "CWEoJqnSBpWf8uryC2qnIe3O1a_FZWUWZGbiVPsQFGW7pvDHiSwoK3QCU9-uxN87", + ))), + Err: stub.UniqueError(0xcafe), + }, + }}, {"invalid paths", pkg.NewExec( "", nil, 0, |
