Skip to content

Commit 015e486

Browse files
committed
re-add tests that were previously 'lost' due to an incorrect feature toggle
1 parent de3fd23 commit 015e486

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

gix-odb/tests/odb/regression/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mod repo_with_small_packs {
1717
}
1818

1919
#[test]
20-
#[cfg(feature = "internal-testing-gix-features-parallel")]
20+
#[cfg(feature = "gix-features-parallel")]
2121
fn multi_threaded_access_will_not_panic() -> crate::Result {
2222
for arg in ["no", "without-multi-index"] {
2323
let base = gix_testtools::scripted_fixture_read_only_with_args("make_repo_multi_index.sh", Some(arg))?

gix-ref/tests/store/mod.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#[test]
2-
#[cfg(feature = "internal-testing-gix-features-parallel")]
2+
#[cfg(feature = "gix-features-parallel")]
33
fn is_send_and_sync() {
44
pub fn store_at(name: &str) -> crate::Result<gix_ref::file::Store> {
55
let path = gix_testtools::scripted_fixture_read_only_standalone(name)?;
66
Ok(gix_ref::file::Store::at(
77
path.join(".git"),
8-
gix_ref::store::WriteReflog::Normal,
9-
gix_hash::Kind::Sha1,
8+
gix_ref::store::init::Options {
9+
write_reflog: gix_ref::store::WriteReflog::Normal,
10+
object_hash: gix_hash::Kind::Sha1,
11+
..Default::default()
12+
},
1013
))
1114
}
1215

0 commit comments

Comments
 (0)