mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 09:42:40 +01:00
fix test
This commit is contained in:
parent
1af149b9e6
commit
e178db7f74
@ -599,7 +599,9 @@ mod tests {
|
|||||||
let mut h1 = Dispatcher::new(
|
let mut h1 = Dispatcher::new(
|
||||||
buf,
|
buf,
|
||||||
ServiceConfig::default(),
|
ServiceConfig::default(),
|
||||||
(|req| ok::<_, Error>(Response::Ok().finish())).into_service(),
|
CloneableService::new(
|
||||||
|
(|req| ok::<_, Error>(Response::Ok().finish())).into_service(),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
assert!(h1.poll().is_ok());
|
assert!(h1.poll().is_ok());
|
||||||
assert!(h1.poll().is_ok());
|
assert!(h1.poll().is_ok());
|
||||||
|
Loading…
Reference in New Issue
Block a user