aboutsummaryrefslogtreecommitdiffstats
path: root/utils/merkletrie/difftree_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/merkletrie/difftree_test.go')
-rw-r--r--utils/merkletrie/difftree_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/merkletrie/difftree_test.go b/utils/merkletrie/difftree_test.go
index 6a193af..c3fb4f1 100644
--- a/utils/merkletrie/difftree_test.go
+++ b/utils/merkletrie/difftree_test.go
@@ -427,3 +427,13 @@ func (s *DiffTreeSuite) TestSameNames(c *C) {
},
})
}
+
+func (s *DiffTreeSuite) TestIssue275(c *C) {
+ do(c, []diffTreeTest{
+ {
+ "(a(b(c.go<1>) b.go<2>))",
+ "(a(b(c.go<1> d.go<3>) b.go<2>))",
+ "+a/b/d.go",
+ },
+ })
+}