(c *C)
| 55 | } |
| 56 | |
| 57 | func (s *NoderSuite) TestDiffChangeLink(c *C) { |
| 58 | fsA := memfs.New() |
| 59 | fsA.Symlink("qux", "foo") |
| 60 | |
| 61 | fsB := memfs.New() |
| 62 | fsB.Symlink("bar", "foo") |
| 63 | |
| 64 | ch, err := merkletrie.DiffTree( |
| 65 | NewRootNode(fsA, nil), |
| 66 | NewRootNode(fsB, nil), |
| 67 | IsEquals, |
| 68 | ) |
| 69 | |
| 70 | c.Assert(err, IsNil) |
| 71 | c.Assert(ch, HasLen, 1) |
| 72 | } |
| 73 | |
| 74 | func (s *NoderSuite) TestDiffChangeContent(c *C) { |
| 75 | fsA := memfs.New() |
nothing calls this directly
no test coverage detected