Merge branch 'sam/fix-network-test' into 'master'

Fix network test

See merge request veloren/veloren!2567
This commit is contained in:
Samuel Keiffer 2021-07-06 21:29:51 +00:00
commit bc47991592

View File

@ -110,7 +110,7 @@ mod tests {
#[tokio::test]
async fn tresolve() {
let args = resolve("google.com", false).await.expect("resolve failed");
assert!(args.len() == 1 || args.len() == 2);
assert!(!args.is_empty());
assert_eq!(args[0].port(), 14004);
let args = resolve("127.0.0.1", false).await.expect("resolve failed");