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

refactor DateService (#1983)

This commit is contained in:
fakeshadow
2021-02-12 13:52:58 -08:00
committed by GitHub
parent 95113ad12f
commit 366c032c36
4 changed files with 138 additions and 78 deletions

View File

@@ -201,8 +201,8 @@ mod tests {
use super::*;
use crate::HttpMessage;
#[test]
fn test_http_request_chunked_payload_and_next_message() {
#[actix_rt::test]
async fn test_http_request_chunked_payload_and_next_message() {
let mut codec = Codec::default();
let mut buf = BytesMut::from(