From b7e991de5bfa81bff474d07142555df51202640a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 2 Jun 2025 18:53:28 +0900 Subject: nix: update flake lock Signed-off-by: Ophestra --- helper/container_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helper/container_test.go') diff --git a/helper/container_test.go b/helper/container_test.go index 886cbf47..088237cc 100644 --- a/helper/container_test.go +++ b/helper/container_test.go @@ -15,7 +15,7 @@ import ( func TestContainer(t *testing.T) { t.Run("start empty container", func(t *testing.T) { - h := helper.New(context.Background(), "/nonexistent", argsWt, false, argF, nil, nil) + h := helper.New(t.Context(), "/nonexistent", argsWt, false, argF, nil, nil) wantErr := "sandbox: starting an empty container" if err := h.Start(); err == nil || err.Error() != wantErr { @@ -25,7 +25,7 @@ func TestContainer(t *testing.T) { }) t.Run("valid new helper nil check", func(t *testing.T) { - if got := helper.New(context.TODO(), "fortify", argsWt, false, argF, nil, nil); got == nil { + if got := helper.New(t.Context(), "fortify", argsWt, false, argF, nil, nil); got == nil { t.Errorf("New(%q, %q) got nil", argsWt, "fortify") return -- cgit v1.3.1