Skip to content

Commit

Permalink
improve overridemanager test
Browse files Browse the repository at this point in the history
  • Loading branch information
vie-serendipity committed Aug 15, 2023
1 parent 25db1e0 commit 7aed433
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 7aed433

Please sign in to comment.