Skip to content

Commit 75a16c9

Browse files
committed
remove unnecessary lines
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
1 parent 65d57aa commit 75a16c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

registry/remote/repository_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -3226,7 +3226,6 @@ func Test_ManifestStore_Delete(t *testing.T) {
32263226
}
32273227
default:
32283228
w.WriteHeader(http.StatusNotFound)
3229-
32303229
}
32313230
}))
32323231
defer ts.Close()
@@ -3259,7 +3258,6 @@ func Test_ManifestStore_Delete(t *testing.T) {
32593258
Digest: digest.FromBytes(content),
32603259
Size: int64(len(content)),
32613260
}
3262-
ctx = context.Background()
32633261
err = store.Delete(ctx, contentDesc)
32643262
if !errors.Is(err, errdef.ErrNotFound) {
32653263
t.Errorf("Manifests.Delete() error = %v, wantErr %v", err, errdef.ErrNotFound)

0 commit comments

Comments
 (0)