.*

0 Inscriptions

1 Transaction

" .unindent() ); } #[test] fn next_active_when_not_last() { assert_regex_match!( BlockHtml::new( Chain::Mainnet.genesis_block(), Height(0), Height(1), 0, Vec::new() ), r"

Block 0

.*prev\s*.*" ); } #[test] fn prev_active_when_not_first() { assert_regex_match!( BlockHtml::new( Chain::Mainnet.genesis_block(), Height(1), Height(1), 0, Vec::new() ), r"

Block 1

.*\s*next.*", ); } #[test] fn block_hash_serializes_as_hex_string() { assert_eq!( serde_json::to_string(&BlockHash::all_zeros()).unwrap(), "\"0000000000000000000000000000000000000000000000000000000000000000\""