MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / patch

Method patch

internal/server/plan3578_patch_test.go:42–48  ·  view source on GitHub ↗
(t *testing.T, body map[string]any)

Source from the content-addressed store, hash-verified

40}
41
42func (f *patchFixture) patch(t *testing.T, body map[string]any) (int, map[string]any) {
43 t.Helper()
44 rr := doRequest(f.srv, "POST", f.path+"/patch", body)
45 var out map[string]any
46 _ = json.Unmarshal(rr.Body.Bytes(), &out)
47 return rr.Code, out
48}
49
50func edits(pairs ...string) []map[string]any {
51 var out []map[string]any

Calls 2

doRequestFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected