Skip to content

Commit

Permalink
Fix cargo test -p zcash_address
Browse files Browse the repository at this point in the history
Closes #1538.
  • Loading branch information
str4d committed Sep 23, 2024
1 parent 778fe2e commit eaf330d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/zcash_address/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ proptest = { workspace = true, optional = true }

[dev-dependencies]
assert_matches.workspace = true
proptest.workspace = true

[features]
test-dependencies = ["dep:proptest"]
Expand Down
2 changes: 1 addition & 1 deletion components/zcash_address/src/kind/unified/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl super::Container for Address {
}
}

#[cfg(feature = "test-dependencies")]
#[cfg(any(test, feature = "test-dependencies"))]
pub mod testing {
use proptest::{
array::{uniform11, uniform20, uniform32},
Expand Down

0 comments on commit eaf330d

Please sign in to comment.