Skip to content

Commit

Permalink
cleaned up
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxuan Wang <[email protected]>
  • Loading branch information
wangxiaoxuan273 committed Dec 26, 2023
1 parent 5a1330d commit 64e7ba8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions internal/graph/memory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ func TestMemory_IndexAndRemove(t *testing.T) {
t.Errorf("testFetcher.Fetch() = %v, want %v", got, blobs[4])
}

// nodeKeyA := descriptor.FromOCI(descA)
// descB.Digest := descriptor.FromOCI(descB)
// descC.Digest := descriptor.FromOCI(descC)
// descD.Digest := descriptor.FromOCI(descD)

// index and check the information of node D
testMemory.Index(ctx, testFetcher, descD)
// 1. verify its existence in testMemory.nodes
Expand Down Expand Up @@ -391,13 +386,6 @@ func TestMemory_IndexAllAndPredecessors(t *testing.T) {
t.Errorf("testFetcher.Fetch() = %v, want %v", got, blobs[4])
}

// descA.Digest := descriptor.FromOCI(descA)
// descB.Digest := descriptor.FromOCI(descB)
// descC.Digest := descriptor.FromOCI(descC)
// descD.Digest := descriptor.FromOCI(descD)
// descE.Digest := descriptor.FromOCI(descE)
// descF.Digest := descriptor.FromOCI(descF)

// index node A into testMemory using IndexAll
testMemory.IndexAll(ctx, testFetcher, descA)

Expand Down

0 comments on commit 64e7ba8

Please sign in to comment.