Skip to content

Commit e6c4850

Browse files
committed
fix unit test take two
1 parent 8ca18fc commit e6c4850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/operators/openshift/clusteroperator_controller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ var _ = Describe("ClusterOperator controller", func() {
296296
{
297297
namespace: ns.GetName(),
298298
name: incompatible.GetName(),
299-
err: fmt.Errorf(`Failed to parse "garbage" as semver: %w`, parseErr),
299+
err: fmt.Errorf(`failed to parse "garbage" as semver: %w`, parseErr),
300300
},
301301
}.String(),
302302
LastTransitionTime: fixedNow(),
@@ -320,7 +320,7 @@ var _ = Describe("ClusterOperator controller", func() {
320320
{
321321
namespace: ns.GetName(),
322322
name: incompatible.GetName(),
323-
err: fmt.Errorf(`Defining more than one "%s" property is not allowed`, MaxOpenShiftVersionProperty),
323+
err: fmt.Errorf(`defining more than one "%s" property is not allowed`, MaxOpenShiftVersionProperty),
324324
},
325325
}.String(),
326326
LastTransitionTime: fixedNow(),

0 commit comments

Comments
 (0)