Skip to content

Commit

Permalink
Merge pull request #3943 from vie-serendipity/improve_overridemanager…
Browse files Browse the repository at this point in the history
…_test

improve overridemanager test
  • Loading branch information
karmada-bot committed Aug 16, 2023
2 parents ba1800f + ec6a83c commit 999c7ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/util/overridemanager/overridemanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func TestGetMatchingOverridePolicies(t *testing.T) {
{
Path: "/metadata/annotations",
Operator: "add",
Value: apiextensionsv1.JSON{Raw: []byte("foo: bar")},
Value: apiextensionsv1.JSON{Raw: []byte(`"foo: bar"`)},
},
},
}
Expand All @@ -252,7 +252,7 @@ func TestGetMatchingOverridePolicies(t *testing.T) {
{
Path: "/metadata/annotations",
Operator: "add",
Value: apiextensionsv1.JSON{Raw: []byte("aaa: bbb")},
Value: apiextensionsv1.JSON{Raw: []byte(`"aaa: bbb"`)},
},
},
}
Expand All @@ -261,7 +261,7 @@ func TestGetMatchingOverridePolicies(t *testing.T) {
{
Path: "/metadata/annotations",
Operator: "add",
Value: apiextensionsv1.JSON{Raw: []byte("hello: world")},
Value: apiextensionsv1.JSON{Raw: []byte(`"hello: world"`)},
},
},
}
Expand Down

0 comments on commit 999c7ae

Please sign in to comment.