MCPcopy Create free account
hub / github.com/dadgar/onecache / TestCollapseLogeDeleteDelete

Function TestCollapseLogeDeleteDelete

onecache/replicator_test.go:388–393  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

386}
387
388func TestCollapseLogeDeleteDelete(t *testing.T) {
389 in := []replicationTask{task_DELETE, task_DELETE}
390 if _, err := collapseOpLog(in); err == nil {
391 t.Errorf("collapseOpLog(%v) should have returned an error")
392 }
393}
394
395func TestCollapseLogeDeleteTouch(t *testing.T) {
396 in := []replicationTask{task_DELETE, task_TOUCH}

Callers

nothing calls this directly

Calls 1

collapseOpLogFunction · 0.85

Tested by

no test coverage detected