@@ -455,13 +455,13 @@ func TestSyncPruneFailure(t *testing.T) {
455455 assert .Equal (t , "foo" , result .Message )
456456}
457457
458- func TestDontSyncOrPruneHooks (t * testing.T ) {
458+ func TestDoNotSyncOrPruneHooks (t * testing.T ) {
459459 syncCtx := newTestSyncCtx (WithOperationSettings (false , false , false , true ))
460460 targetPod := NewPod ()
461- targetPod .SetName ("dont -create-me" )
461+ targetPod .SetName ("do-not -create-me" )
462462 targetPod .SetAnnotations (map [string ]string {synccommon .AnnotationKeyHook : "PreSync" })
463463 liveSvc := NewService ()
464- liveSvc .SetName ("dont -prune-me" )
464+ liveSvc .SetName ("do-not -prune-me" )
465465 liveSvc .SetNamespace (FakeArgoCDNamespace )
466466 liveSvc .SetAnnotations (map [string ]string {synccommon .AnnotationKeyHook : "PreSync" })
467467
@@ -473,7 +473,7 @@ func TestDontSyncOrPruneHooks(t *testing.T) {
473473}
474474
475475// make sure that we do not prune resources with Prune=false
476- func TestDontPrunePruneFalse (t * testing.T ) {
476+ func TestDoNotPrunePruneFalse (t * testing.T ) {
477477 syncCtx := newTestSyncCtx (WithOperationSettings (false , true , false , false ))
478478 pod := NewPod ()
479479 pod .SetAnnotations (map [string ]string {synccommon .AnnotationSyncOptions : "Prune=false" })
@@ -1250,7 +1250,7 @@ func TestPruneLast(t *testing.T) {
12501250 assert .Equal (t , 3 , tasks .lastWave ())
12511251 })
12521252
1253- t .Run ("pruneLastIndidualResources " , func (t * testing.T ) {
1253+ t .Run ("pruneLastIndividualResources " , func (t * testing.T ) {
12541254 syncCtx .pruneLast = false
12551255
12561256 pod1 .SetAnnotations (map [string ]string {synccommon .AnnotationSyncWave : "2" })
0 commit comments