Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Oct 25, 2024
1 parent e8fa3da commit 65d5d4f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/ticket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,14 @@ mod tests {
nodes: vec![NodeAddr::from_parts(node_id, None, [])],
};
let s = ticket.to_string();
let base32 = data_encoding::BASE32_NOPAD.decode(s.strip_prefix("doc").unwrap().to_ascii_uppercase().as_bytes()).unwrap();
let base32 = data_encoding::BASE32_NOPAD
.decode(
s.strip_prefix("doc")
.unwrap()
.to_ascii_uppercase()
.as_bytes(),
)
.unwrap();
let expected = parse_hexdump("
00 # variant
01 # capability discriminator, 1 = read
Expand Down

0 comments on commit 65d5d4f

Please sign in to comment.