Skip to content

Commit 3a6d751

Browse files
committed
Fix snapshot tests
1 parent a1be02c commit 3a6d751

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

iroh-relay/src/protos/relay.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -603,9 +603,18 @@ mod tests {
603603
},
604604
}
605605
.write_to(Vec::new()),
606-
"04 19 7f 6b 23 e1 6c 85 32 c6 ab c8 38 fa cd 5e
607-
a7 89 be 0c 76 b2 92 03 34 03 9b fa 8b 3d 36 8d
608-
61 47 6f 6f 64 62 79 65 21",
606+
// frame type
607+
// public key first 16 bytes
608+
// public key second 16 bytes
609+
// ECN byte
610+
// Segment size
611+
// hello world contents
612+
"05
613+
19 7f 6b 23 e1 6c 85 32 c6 ab c8 38 fa cd 5e a7
614+
89 be 0c 76 b2 92 03 34 03 9b fa 8b 3d 36 8d 61
615+
03
616+
00 06
617+
48 65 6c 6c 6f 20 57 6f 72 6c 64 21",
609618
),
610619
(
611620
ClientToRelayMsg::Datagrams {

0 commit comments

Comments
 (0)