1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00

update tests

This commit is contained in:
Nikolay Kim 2017-12-18 13:26:43 -08:00
parent 9ed4159c0c
commit 26af6040ff

View File

@ -39,7 +39,7 @@ fn test_serve_incoming() {
|| Application::new()
.resource("/", |r| r.method(Method::GET).h(httpcodes::HTTPOk)));
let tcp = TcpListener::from_listener(tcp, &addr2, Arbiter::handle()).unwrap();
srv.start_incoming::<_, ()>(tcp.incoming(), false).unwrap();
srv.start_incoming(tcp.incoming(), false).unwrap();
sys.run();
});