MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / TestRevTreeUnmarshal

Function TestRevTreeUnmarshal

db/revtree_test.go:269–276  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

267}
268
269func TestRevTreeUnmarshal(t *testing.T) {
270 const testJSON = `{
271 "revs": ["3-three", "2-two", "1-one"],
272 "parents": [1, 2, -1],
273 "bodymap": {"0":"{\"foo\":\"bar\"}"}
274}`
275 assertRevTreeUnmarshal(t, testJSON, testmap)
276}
277
278func TestRevTreeUnmarshalRevChannelCountMismatch(t *testing.T) {
279 const testJSON = `{

Callers

nothing calls this directly

Calls 1

assertRevTreeUnmarshalFunction · 0.85

Tested by

no test coverage detected