summaryrefslogtreecommitdiff
path: root/plugins_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins_test.go')
-rw-r--r--plugins_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins_test.go b/plugins_test.go
index e919e684..a3596cda 100644
--- a/plugins_test.go
+++ b/plugins_test.go
@@ -58,8 +58,7 @@ func TestBuildCommand(t *testing.T) {
}
func TestRun(t *testing.T) {
- ctx, cancel := context.WithCancel(context.Background())
- defer cancel()
+ ctx := t.Context()
stderr := &bytes.Buffer{}
p := &plugin{