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 408
408
"patch" : [ { "op" : " copy" , "path" : " /-" } ],
409
409
"error" : " missing 'from' parameter" },
410
410
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
+
411
416
{ "comment" : " missing from parameter to move" ,
412
417
"doc" : { "foo" : 1 },
413
418
"patch" : [ { "op" : " move" , "path" : " " } ],
414
419
"error" : " missing 'from' parameter" },
415
420
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
+
416
426
{ "comment" : " duplicate ops" ,
417
427
"doc" : { "foo" : " bar" },
418
428
"patch" : [ { "op" : " add" , "path" : " /baz" , "value" : " qux" ,
You can’t perform that action at this time.
0 commit comments