Skip to content

Commit

Permalink
Revert "Test for copying non-existent key."
Browse files Browse the repository at this point in the history
This reverts commit caa7f26.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Aug 5, 2020
1 parent 9b58b85 commit 42bcdf2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions patch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,6 @@ var BadCases = []BadCase{
`{ "baz": "qux" }`,
`[ { "op": "replace", "path": "/foo", "value": "bar" } ]`,
},
// Can't copy from non-existent "from" key.
{
`{ "foo": "bar"}`,
`[{"op": "copy", "path": "/qux", "from": "/baz"}]`,
},
}

// This is not thread safe, so we cannot run patch tests in parallel.
Expand Down

0 comments on commit 42bcdf2

Please sign in to comment.