Skip to content

Commit e0e698e

Browse files
committed
сhore(tests): remove obsolete debug-output coverage
1 parent 9b90283 commit e0e698e

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

bitcoin/src/blockdata/transaction.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,12 +2092,7 @@ mod tests {
20922092
}
20932093

20942094
#[test]
2095-
fn sequence_debug_output() {
2096-
let seq = Sequence::from_seconds_floor(1000);
2097-
println!("{:?}", seq)
2098-
}
20992095

2100-
#[test]
21012096
fn outpoint_format() {
21022097
let outpoint = OutPoint::COINBASE_PREVOUT;
21032098

primitives/src/witness.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,6 @@ impl<'a> Arbitrary<'a> for Witness {
577577
mod test {
578578
#[cfg(feature = "alloc")]
579579
use alloc::vec;
580-
#[cfg(feature = "std")]
581-
use std::println;
582-
583580
use super::*;
584581

585582
// Appends all the indices onto the end of a list of elements.
@@ -595,13 +592,7 @@ mod test {
595592
fn single_empty_element() -> Witness { Witness::from([[0u8; 0]]) }
596593

597594
#[test]
598-
#[cfg(feature = "std")]
599-
fn witness_debug_can_display_empty_element() {
600-
let witness = single_empty_element();
601-
println!("{:?}", witness);
602-
}
603595

604-
#[test]
605596
fn witness_single_empty_element() {
606597
let mut got = Witness::new();
607598
got.push([]);

0 commit comments

Comments
 (0)