Skip to content

Commit b776d36

Browse files
committed
Fix typo
1 parent af6b57a commit b776d36

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/apply/solver/solver_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,7 +1869,7 @@ func TestTaskQueueBuilder_ApplyPruneBuild(t *testing.T) {
18691869
}
18701870
}
18711871

1872-
// waitTaskComparer allows comparion of WaitTasks, ignoring private fields.
1872+
// waitTaskComparer allows comparison of WaitTasks, ignoring private fields.
18731873
func waitTaskComparer() cmp.Option {
18741874
return cmp.Comparer(func(x, y *taskrunner.WaitTask) bool {
18751875
if x == nil {
@@ -1886,7 +1886,7 @@ func waitTaskComparer() cmp.Option {
18861886
})
18871887
}
18881888

1889-
// fakeClientComparer allows comparion of inventory.FakeClient, ignoring objs.
1889+
// fakeClientComparer allows comparison of inventory.FakeClient, ignoring objs.
18901890
func fakeClientComparer() cmp.Option {
18911891
return cmp.Comparer(func(x, y *inventory.FakeClient) bool {
18921892
if x == nil {
@@ -1899,7 +1899,7 @@ func fakeClientComparer() cmp.Option {
18991899
})
19001900
}
19011901

1902-
// inventoryInfoComparer allows comparion of inventory.Info, ignoring impl.
1902+
// inventoryInfoComparer allows comparison of inventory.Info, ignoring impl.
19031903
func inventoryInfoComparer() cmp.Option {
19041904
return cmp.Comparer(func(x, y inventory.Info) bool {
19051905
return x.ID() == y.ID() &&

pkg/object/graph/depends_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ func containsEdge(edges []Edge, edge Edge) bool {
16291629
return false
16301630
}
16311631

1632-
// waitTaskComparer allows comparion of WaitTasks, ignoring private fields.
1632+
// waitTaskComparer allows comparison of WaitTasks, ignoring private fields.
16331633
func graphComparer() cmp.Option {
16341634
return cmp.Comparer(func(x, y *Graph) bool {
16351635
if x == nil {

0 commit comments

Comments
 (0)