1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

reuse PayloadBuffer from actix-http

This commit is contained in:
Nikolay Kim
2019-03-28 05:34:33 -07:00
parent 6e0fe7db2d
commit e84c95968f
3 changed files with 12 additions and 297 deletions

View File

@ -502,15 +502,6 @@ mod tests {
use actix_rt::Runtime;
use futures::future::{lazy, result};
#[test]
fn test_error() {
let err = PayloadError::Incomplete(None);
assert_eq!(
format!("{}", err),
"A payload reached EOF, but is not complete."
);
}
#[test]
fn test_basic() {
Runtime::new()