diff options
author | Alex Goodman <wagoodman@gmail.com> | 2018-06-24 12:49:47 -0400 |
---|---|---|
committer | Alex Goodman <wagoodman@gmail.com> | 2018-06-24 12:49:47 -0400 |
commit | c9b1d3dd3cba7b2c691319490e6fd557fdff4367 (patch) | |
tree | 37d74148e269448d4e0839b2769820df41f367f2 /filetree/data_test.go | |
parent | 3590a7cf4666d1c58aa942fea112b0da11f23433 (diff) |
remove root node from view; fix tests
Diffstat (limited to 'filetree/data_test.go')
-rw-r--r-- | filetree/data_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filetree/data_test.go b/filetree/data_test.go index 5c0c7e8..f107e30 100644 --- a/filetree/data_test.go +++ b/filetree/data_test.go @@ -6,7 +6,7 @@ import ( func TestAssignDiffType(t *testing.T) { tree := NewFileTree() - node, err := tree.AddPath("/usr", BlankFileChangeInfo("/usr")) + node, err := tree.AddPath("/usr", *BlankFileChangeInfo("/usr")) if err != nil { t.Errorf("Expected no error from fetching path. got: %v", err) } |