❯
.*
"
.unindent()
);
}
#[test]
fn with_cursed_and_unbound() {
assert_regex_match!(
InscriptionHtml {
genesis_fee: 1,
inscription: inscription("text/plain;charset=utf-8", "HELLOWORLD"),
inscription_id: inscription_id(2),
inscription_number: -1,
output: Some(tx_out(1, address())),
satpoint: SatPoint {
outpoint: unbound_outpoint(),
offset: 0
},
timestamp: timestamp(0),
..Default::default()
},
"
Inscription -1
.*
.*
- location
- 0{64}:0:0
- output
- 0{64}:0
.*
"
.unindent()
);
}
#[test]
fn with_parent() {
assert_regex_match!(
InscriptionHtml {
parent: Some(inscription_id(2)),