Skip to content

Commit

Permalink
Remove Debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
dconnolly committed Apr 7, 2020
1 parent bd92caa commit 4798d7f
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions zebra-chain/src/addresses/sapling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,20 +121,6 @@ mod tests {

use super::*;

#[test]
fn from_str_debug() {
let zs_addr = SaplingShieldedAddress::from_str(
"zs1qqqqqqqqqqqqqqqqqrjq05nyfku05msvu49mawhg6kr0wwljahypwyk2h88z6975u563j8nfaxd",
)
.expect("sapling z-addr string to parse");

assert_eq!(
format!("{:?}", zs_addr),

"SaplingShieldedAddress { diversifier: Diversifier(\"0000000000000000000000\"), transmission_key: TransmissionKey { u: \"8aa95397aad733606e2cd16834f2ee5b537dad92b1ad0529653ba6a9772b8c03\", v: \"e407d2644db8fa6e0ce54bbebae8d586f73bf2edc81712cab9ce2d17d4e53519\" } }"
);
}

#[test]
fn to_human_readable_address() {
let zs_addr = SaplingShieldedAddress::from_str(
Expand Down Expand Up @@ -177,6 +163,7 @@ mod tests {
#[cfg(test)]
proptest! {

// TODO: uncomment when key strategies are fixed.
// #[test]
// fn sapling_address_roundtrip(zaddr in any::<SaplingShieldedAddress>()) {

Expand Down

0 comments on commit 4798d7f

Please sign in to comment.