(t *testing.T)
| 347 | } |
| 348 | |
| 349 | func TestRevTreeAddRevisionWithEmptyID(t *testing.T) { |
| 350 | tempmap := testmap.copy() |
| 351 | assert.Equal(t, testmap, tempmap) |
| 352 | |
| 353 | err := tempmap.addRevision("testdoc", RevInfo{Parent: "3-three"}) |
| 354 | assert.Equal(t, fmt.Sprintf("doc: %v, RevTree addRevision, empty revid is illegal", "testdoc"), err.Error()) |
| 355 | } |
| 356 | |
| 357 | func TestRevTreeAddDuplicateRevID(t *testing.T) { |
| 358 | tempmap := testmap.copy() |
nothing calls this directly
no test coverage detected