Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Commit

Permalink
Add extended syntax multiple removal test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Hicks committed Apr 28, 2017
1 parent 746bb2d commit a54e611
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions patch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,31 @@ waldo:
- baz: quux
corge: grault
`,
),
Entry("removes multiple entries in a single op",
`---
foo:
- bar: baz
- waldo: fred
qux:
corge: grault
thud:
- waldo: fred
- bar: baz
`,
`---
- op: remove
path: /waldo=fred
`,
`---
foo:
- bar: baz
qux:
corge: grault
thud:
- bar: baz
`,
),
)
Expand Down

0 comments on commit a54e611

Please sign in to comment.