Skip to content

Commit

Permalink
should be an error
Browse files Browse the repository at this point in the history
Signed-off-by: Phani Sajja <[email protected]>
  • Loading branch information
sajjaphani committed Oct 17, 2024
1 parent 3abacab commit ed14c12
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/core/src/os/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,4 @@ fn test_fqdn_lookup() {
fn test_fqdn_lookup_err() {
let fqdn = lookup_fqdn("");
assert!(fqdn.is_err(), "Should be an Err()");
assert_eq!(format!("{}", fqdn.unwrap_err()),
"failed to lookup address information: Name or service not known");
}

0 comments on commit ed14c12

Please sign in to comment.