History

prepare test utilities for release…

…otherwise publishing won't work.

Sebastian Thiel committed 5 years agogit-odb-v0.12.0git-testtools-v0.1.0

Commit d35e6541 parent a1ce21010 files · +27 −27Browse files

Showing the changes to git-commitgraph (2 of 10 files). Show all

Unified · Split

2 files
  1. git-commitgraph/Cargo.toml +1 −1
  2. git-commitgraph/tests/commitgraph.rs +1 −1
git-commitgraph/Cargo.toml+1−1
@@ -26,4 +26,4 @@ serde = { version = "1.0.114", optional = true, default-features = false, featur · 25 unmodified lines
26thiserror = "1.0.20"26thiserror = "1.0.20"
27 27
28[dev-dependencies]28[dev-dependencies]
29test-tools = { version = "0.1", path = "../tests/tools" }29git-testtools = { version = "0.1", path = "../tests/tools" }
git-commitgraph/tests/commitgraph.rs+1−1
@@ -59,7 +59,7 @@ pub fn check_common(cg: &Graph, expected: &HashMap<String, RefInfo, impl BuildHa · 58 unmodified lines
59 );59 );
60}60}
61 61
62use test_tools::scripted_fixture_repo_read_only;62use git_testtools::scripted_fixture_repo_read_only;
63pub fn make_readonly_repo(script_path: &str) -> std::path::PathBuf {63pub fn make_readonly_repo(script_path: &str) -> std::path::PathBuf {
64 scripted_fixture_repo_read_only(script_path).expect("script succeeds all the time")64 scripted_fixture_repo_read_only(script_path).expect("script succeeds all the time")
65}65}