(t *testing.T)
| 308 | } |
| 309 | |
| 310 | func TestRevTreeParentAccess(t *testing.T) { |
| 311 | parent := testmap.getParent("3-three") |
| 312 | assert.Equal(t, "2-two", parent) |
| 313 | parent = testmap.getParent("1-one") |
| 314 | assert.Equal(t, "", parent) |
| 315 | } |
| 316 | |
| 317 | func TestRevTreeGetHistory(t *testing.T) { |
| 318 | history, err := testmap.getHistory("3-three") |