Skip to content

Commit

Permalink
fix: fix testings
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 5, 2021
1 parent 285324d commit 24d6619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infrastructure/git/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ mod test {
initialize();

let root = url_format::uri_to_path("https://github.com/coco-rs/coco.fixtures");
let tree = git_file_history::by_path(root);
let tree = git_file_history::by_path(root, 1);

let name = tree.get_children()[0].name();
assert_eq!("LICENSE", name.to_str().unwrap());
Expand Down

0 comments on commit 24d6619

Please sign in to comment.