mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
Remove resolve_addr::tests::resolve_addr_err (#1531)
On some nameservers bad domain names still resolve.
This commit is contained in:
parent
bc22dca2aa
commit
eb6f7f901b
1 changed files with 0 additions and 9 deletions
|
@ -153,13 +153,4 @@ mod tests {
|
|||
let actual = resolve_addr("[2001:db8::1]:8080").wait().unwrap();
|
||||
assert_eq!(actual, expected);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn resolve_addr_err() {
|
||||
let r = resolve_addr("not-a-real-domain.blahblah:8080").wait();
|
||||
match r {
|
||||
Err(ResolveAddrError::Resolution(_)) => {} // expected
|
||||
_ => assert!(false),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue