(t *testing.T)
| 363 | } |
| 364 | |
| 365 | func TestRevTreeAddRevisionWithMissingParent(t *testing.T) { |
| 366 | tempmap := testmap.copy() |
| 367 | assert.Equal(t, testmap, tempmap) |
| 368 | |
| 369 | err := tempmap.addRevision("testdoc", RevInfo{ID: "5-five", Parent: "4-four"}) |
| 370 | assert.Equal(t, fmt.Sprintf("doc: %v, RevTree addRevision, parent id %q is missing", "testdoc", "4-four"), err.Error()) |
| 371 | } |
| 372 | |
| 373 | func TestRevTreeCompareRevIDs(t *testing.T) { |
| 374 | ctx := base.TestCtx(t) |
nothing calls this directly
no test coverage detected