Skip to content

Commit

Permalink
make new trees the default in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed May 24, 2024
1 parent 02eb164 commit 22ac170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/testutils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ pub fn create_single_tree(repo: &Arc<ReadonlyRepo>, path_contents: &[(&RepoPath,
}

pub fn create_tree(repo: &Arc<ReadonlyRepo>, path_contents: &[(&RepoPath, &str)]) -> MergedTree {
MergedTree::legacy(create_single_tree(repo, path_contents))
MergedTree::resolved(create_single_tree(repo, path_contents))
}

#[must_use]
Expand Down

0 comments on commit 22ac170

Please sign in to comment.