mirror of
https://github.com/actix/actix-web.git
synced 2024-12-18 22:26:37 +00:00
fix test
This commit is contained in:
parent
5699af9795
commit
8c48fdb0fc
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue