History

adjust to changes in `git-testtools`

Sebastian Thiel committed 3 years ago

Commit 4eb842c1 parent dbf6c8c40 files · +73 −76Browse files

Showing the changes to git-commitgraph/tests/commitgraph.rs (1 of 40 files). Show all

Unified · Split

git-commitgraph/tests/commitgraph.rs+2−2
@@ -60,9 +60,9 @@ pub fn check_common(cg: &Graph, expected: &HashMap<String, RefInfo, impl BuildHa · 59 unmodified lines
60 );60 );
61}61}
62 62
63use git_testtools::scripted_fixture_repo_read_only;63use git_testtools::scripted_fixture_read_only;
64pub fn make_readonly_repo(script_path: &str) -> std::path::PathBuf {64pub fn make_readonly_repo(script_path: &str) -> std::path::PathBuf {
65 scripted_fixture_repo_read_only(script_path).expect("script succeeds all the time")65 scripted_fixture_read_only(script_path).expect("script succeeds all the time")
66}66}
67 67
68pub fn hex_to_id(hex: &[u8]) -> git_hash::ObjectId {68pub fn hex_to_id(hex: &[u8]) -> git_hash::ObjectId {