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

Function TestRevTreeGetHistory

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

Source from the content-addressed store, hash-verified

315}
316
317func TestRevTreeGetHistory(t *testing.T) {
318 history, err := testmap.getHistory("3-three")
319 assert.True(t, err == nil)
320 assert.Equal(t, []string{"3-three", "2-two", "1-one"}, history)
321}
322
323func TestRevTreeGetLeaves(t *testing.T) {
324 leaves := testmap.GetLeaves()

Callers

nothing calls this directly

Calls 2

getHistoryMethod · 0.80
EqualMethod · 0.45

Tested by

no test coverage detected