witness010101
script sigOP_PUSHBYTES_3 666f6f
text\x03foo
"
.unindent()
);
}
#[test]
fn skip_empty_items() {
pretty_assert_eq!(
InputHtml {
path: (1, 2, 3),
input: TxIn {
previous_output: OutPoint::null(),
script_sig: script::Builder::new().into_script(),
sequence: Sequence::MAX,
witness: Witness::new(),
}
}
.to_string(),
"
Input /1/2/3
"
.unindent()
);
}
}