File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 408408 "patch" : [ { "op" : " copy" , "path" : " /-" } ],
409409 "error" : " missing 'from' parameter" },
410410
411+ { "comment" : " missing from location to copy" ,
412+ "doc" : { "foo" : 1 },
413+ "patch" : [ { "op" : " copy" , "from" : " /bar" , "path" : " /foo" } ],
414+ "error" : " missing 'from' location" },
415+
411416 { "comment" : " missing from parameter to move" ,
412417 "doc" : { "foo" : 1 },
413418 "patch" : [ { "op" : " move" , "path" : " " } ],
414419 "error" : " missing 'from' parameter" },
415420
421+ { "comment" : " missing from location to move" ,
422+ "doc" : { "foo" : 1 },
423+ "patch" : [ { "op" : " move" , "from" : " /bar" , "path" : " /foo" } ],
424+ "error" : " missing 'from' location" },
425+
416426 { "comment" : " duplicate ops" ,
417427 "doc" : { "foo" : " bar" },
418428 "patch" : [ { "op" : " add" , "path" : " /baz" , "value" : " qux" ,
You can’t perform that action at this time.
0 commit comments