Skip to content

Commit

Permalink
Remove bad test case in TestValidateJsonAnnotation
Browse files Browse the repository at this point in the history
This is no longer valid.
https://github
.com/evanphx/json-patch/pull/180/files

Signed-off-by: Bryan Cox <brcox@redhat.com>
  • Loading branch information
bryan-cox committed Nov 20, 2023
1 parent 5344411 commit 3a86253
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,6 @@ func TestValidateJsonAnnotation(t *testing.T) {
},
expectError: true,
},
{
name: "valid: missing value on delete",
annotations: map[string]string{
v1beta1.JSONPatchAnnotation: `[{"op": "delete","path": "/spec/domain/cpu/cores"}]`,
},
expectError: false,
},
} {
t.Run(tc.name, func(tt *testing.T) {
err := validateJsonAnnotation(tc.annotations)
Expand Down

0 comments on commit 3a86253

Please sign in to comment.