Skip to content

Commit da1e745

Browse files
committed
Rename cleanup to sanitize and move sorting logic there
1 parent 97030ae commit da1e745

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/buildplan/mock_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import (
1818
// -> 00000000-0000-0000-0000-000000000001 (Cycle back to the first artifact)
1919
func createMockArtifactWithCycles() *Artifact {
2020
// Create the artifacts with placeholders
21-
artifact0001 := &Artifact{ArtifactID: "00000000-0000-0000-0000-000000000001", MimeType: types.XArtifactMimeType}
22-
artifact0002 := &Artifact{ArtifactID: "00000000-0000-0000-0000-000000000002", MimeType: types.XArtifactMimeType}
23-
artifact0003 := &Artifact{ArtifactID: "00000000-0000-0000-0000-000000000003", MimeType: types.XArtifactMimeType}
21+
artifact0001 := &Artifact{ArtifactID: "00000000-0000-0000-0000-000000000001"}
22+
artifact0002 := &Artifact{ArtifactID: "00000000-0000-0000-0000-000000000002"}
23+
artifact0003 := &Artifact{ArtifactID: "00000000-0000-0000-0000-000000000003"}
2424

2525
// Create the deepest ingredients and artifacts first
2626
artifact0003.children = []ArtifactRelation{

0 commit comments

Comments
 (0)