File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626 workv1alpha2 "github.com/karmada-io/karmada/pkg/apis/work/v1alpha2"
2727)
2828
29- // hasSignificantSpecFieldChanged checks if any critical spec fields have changed
29+ // hasSignificantSpecFieldChanged checks if any significant spec fields have changed
3030func hasSignificantSpecFieldChanged (oldObj , newObj interface {}) bool {
3131 var oldSpec , newSpec workv1alpha2.ResourceBindingSpec
3232
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ func TestResourceBindingPredicate_Create(t *testing.T) {
5555 }
5656}
5757
58- func TestResourceBindingPredicate_Delete (t * testing.T ) {
58+ func TestBindingPredicate_Delete (t * testing.T ) {
5959 predicate := newBindingPredicate ()
6060
6161 // Test ResourceBinding delete event
@@ -84,7 +84,7 @@ func TestResourceBindingPredicate_Delete(t *testing.T) {
8484 }
8585}
8686
87- func TestResourceBindingPredicate_Update (t * testing.T ) {
87+ func TestBindingPredicate_Update (t * testing.T ) {
8888 predicate := newBindingPredicate ()
8989
9090 tests := []struct {
You can’t perform that action at this time.
0 commit comments