فهرست منبع

Update clientupdate/distsign/distsign_test.go

Co-authored-by: Andrew Lytvynov <[email protected]>
Signed-off-by: Aaron Klotz <[email protected]>
Aaron Klotz 2 سال پیش
والد
کامیت
7686ff6c46
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      clientupdate/distsign/distsign_test.go

+ 0 - 3
clientupdate/distsign/distsign_test.go

@@ -204,9 +204,6 @@ func TestValidateLocalBinary(t *testing.T) {
 			want := []byte("world")
 			srv.addSigned("hello", want)
 			dst := filepath.Join(t.TempDir(), tt.src)
-			t.Cleanup(func() {
-				os.Remove(dst)
-			})
 			err := c.Download(context.Background(), tt.src, dst)
 			if err != nil {
 				t.Fatalf("unexpected error from Download(%q): %v", tt.src, err)