This commit is contained in:
Alex Goodman 2018-08-21 21:33:12 -04:00
parent 7f3dee181c
commit 2a82632e57
No known key found for this signature in database
GPG Key ID: 05328C611D8A520E

View File

@ -494,7 +494,7 @@ func TestEfficiencyScore(t *testing.T) {
t.Fatalf("Expected %f but got %f", expected, actual) t.Fatalf("Expected %f but got %f", expected, actual)
} }
trees = make([]*FileInfo, 1) trees = make([]*FileTree, 1)
for ix, _ := range trees { for ix, _ := range trees {
tree := NewFileTree() tree := NewFileTree()
tree.AddPath("/etc/nginx/nginx.conf", FileInfo{}) tree.AddPath("/etc/nginx/nginx.conf", FileInfo{})