diff options
Diffstat (limited to 'cmd/mbf/cache_test.go')
| -rw-r--r-- | cmd/mbf/cache_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/mbf/cache_test.go b/cmd/mbf/cache_test.go index 0f036542..a4d33af5 100644 --- a/cmd/mbf/cache_test.go +++ b/cmd/mbf/cache_test.go @@ -1,7 +1,6 @@ package main import ( - "context" "log" "os" "testing" @@ -14,7 +13,7 @@ func TestCache(t *testing.T) { t.Parallel() cm := cache{ - ctx: context.Background(), + ctx: t.Context(), msg: message.New(log.New(os.Stderr, "check: ", 0)), base: t.TempDir(), |
