mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'sam/fix-network-test' into 'master'
Fix network test See merge request veloren/veloren!2567
This commit is contained in:
commit
bc47991592
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user