aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/pkg_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-09 05:31:38 +0900
committerOphestra <cat@gensokyo.uk>2026-01-09 05:31:38 +0900
commit34cb4ebd3bc1d7aaa263929c7ae27ac46298b285 (patch)
tree707ad22a4bbd6201c60206ec9451d56625b76939 /internal/pkg/pkg_test.go
parentf7124667145d1f7c614d9fc644bc07bb6174454a (diff)
internal/pkg: pass context to file cure
This removes the left over embedded contexts. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/pkg_test.go')
-rw-r--r--internal/pkg/pkg_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/pkg_test.go b/internal/pkg/pkg_test.go
index 29291fcc..2c664385 100644
--- a/internal/pkg/pkg_test.go
+++ b/internal/pkg/pkg_test.go
@@ -109,7 +109,7 @@ type stubFile struct {
stubArtifact
}
-func (a stubFile) Cure() ([]byte, error) { return a.data, a.err }
+func (a stubFile) Cure(context.Context) ([]byte, error) { return a.data, a.err }
// newStubFile returns an implementation of [pkg.File] with hardcoded behaviour.
func newStubFile(