mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 04:51:09 +00:00
gstreamer-net: Update for removed Option wrapping in gio
This commit is contained in:
parent
f4553e3d01
commit
fb01529f9f
1 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ mod tests {
|
||||||
|
|
||||||
let expected_addr = &gio::InetSocketAddress::new(&inet_addr, port);
|
let expected_addr = &gio::InetSocketAddress::new(&inet_addr, port);
|
||||||
|
|
||||||
let expected_inet_addr = expected_addr.get_address().unwrap();
|
let expected_inet_addr = expected_addr.get_address();
|
||||||
|
|
||||||
{
|
{
|
||||||
let meta = NetAddressMeta::add(
|
let meta = NetAddressMeta::add(
|
||||||
|
@ -86,7 +86,7 @@ mod tests {
|
||||||
|
|
||||||
assert_eq!(actual_addr.get_port(), expected_addr.get_port());
|
assert_eq!(actual_addr.get_port(), expected_addr.get_port());
|
||||||
|
|
||||||
let actual_inet_addr = actual_addr.get_address().unwrap();
|
let actual_inet_addr = actual_addr.get_address();
|
||||||
|
|
||||||
assert!(actual_inet_addr.equal(&expected_inet_addr));
|
assert!(actual_inet_addr.equal(&expected_inet_addr));
|
||||||
}
|
}
|
||||||
|
@ -100,7 +100,7 @@ mod tests {
|
||||||
|
|
||||||
assert_eq!(actual_addr.get_port(), expected_addr.get_port());
|
assert_eq!(actual_addr.get_port(), expected_addr.get_port());
|
||||||
|
|
||||||
let actual_inet_addr = actual_addr.get_address().unwrap();
|
let actual_inet_addr = actual_addr.get_address();
|
||||||
|
|
||||||
assert!(actual_inet_addr.equal(&expected_inet_addr));
|
assert!(actual_inet_addr.equal(&expected_inet_addr));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue