mirror of
https://github.com/actix/actix-extras.git
synced 2025-08-31 19:37:00 +02:00
fix test
This commit is contained in:
@@ -30,7 +30,7 @@ fn test_serve() {
|
|||||||
srv.serve::<_, ()>("127.0.0.1:58902").unwrap();
|
srv.serve::<_, ()>("127.0.0.1:58902").unwrap();
|
||||||
sys.run();
|
sys.run();
|
||||||
});
|
});
|
||||||
assert!(reqwest::get("http://localhost:58906/").unwrap().status().is_success());
|
assert!(reqwest::get("http://localhost:58902/").unwrap().status().is_success());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Reference in New Issue
Block a user