diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-12 16:21:47 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-12 16:21:47 +0900 |
| commit | a431f16e6fad74c459f627ef29afc139df0168e4 (patch) | |
| tree | a8deee7ef04421ae142ba7404da20a5ff631dda7 /internal/pkg/exec_test.go | |
| parent | 1f45d44e7f4af8b7a8b2b5b0933c5ee872759883 (diff) | |
internal/pkg: in-flight error resolution
The DCE is a slow and overcomplicated solution to a simple problem. This change replaces the DCE by resolving errors in-flight.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/exec_test.go')
| -rw-r--r-- | internal/pkg/exec_test.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/internal/pkg/exec_test.go b/internal/pkg/exec_test.go index 28ca2002..222ab790 100644 --- a/internal/pkg/exec_test.go +++ b/internal/pkg/exec_test.go @@ -118,11 +118,8 @@ func TestExec(t *testing.T) { []string{"testtool"}, pkg.MustPath("/proc/nonexistent", false, failingArtifact), - ), nil, nil, pkg.WNew, &pkg.DependencyCureError{ - { - A: failingArtifact, - Err: stub.UniqueError(0xcafe), - }, + ), nil, nil, pkg.WNew, pkg.InputError{ + failingArtifact: stub.UniqueError(0xcafe), }}, {"invalid paths", pkg.NewExec( |
