Skip to content

Commit 8f209fc

Browse files
committed
Extend addr test
1 parent 593f2e0 commit 8f209fc

File tree

1 file changed

+1
-0
lines changed
  • fortanix-vme/fortanix-vme-abi/src

1 file changed

+1
-0
lines changed

fortanix-vme/fortanix-vme-abi/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ mod test {
103103
if let Addr::IPv4 { port, ip } = sock_addr.into() {
104104
assert_eq!(IpAddr::from(ip), sock_addr.ip());
105105
assert_eq!(port, sock_addr.port());
106+
assert_eq!(port, 4567);
106107
} else {
107108
panic!("Not IPv4")
108109
}

0 commit comments

Comments
 (0)