{txid}:0
</a>
<dl>
<dt>value</dt><dd>5000000000</dd>
<dt>script pubkey</dt><dd class=monospace>OP_0</dd>
</dl>
</li>
<li>
<a href=/output/{txid}:1 class=monospace>
{txid}:1
</a>
<dl>
<dt>value</dt><dd>5000000000</dd>
<dt>script pubkey</dt><dd class=monospace>OP_PUSHNUM_1</dd>
</dl>
</li>
</ul>
"
)
.unindent()
);
}
#[test]
fn with_blockhash() {
let transaction = Transaction {
version: 0,
lock_time: LockTime::ZERO,
input: Vec::new(),
output: vec![
TxOut {
value: 50 * COIN_VALUE,
script_pubkey: script::Builder::new().push_int(0).into_script(),
},
TxOut {
value: 50 * COIN_VALUE,
script_pubkey: script::Builder::new().push_int(1).into_script(),
},
],
};
assert_regex_match!(