mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 06:39:22 +02:00
change rustfmt line width to 96
This commit is contained in:
@ -23,10 +23,9 @@ async fn test_utf8_file_contents() {
|
||||
);
|
||||
|
||||
// prefer UTF-8 encoding
|
||||
let srv = test::init_service(
|
||||
App::new().service(Files::new("/", "./tests").prefer_utf8(true)),
|
||||
)
|
||||
.await;
|
||||
let srv =
|
||||
test::init_service(App::new().service(Files::new("/", "./tests").prefer_utf8(true)))
|
||||
.await;
|
||||
|
||||
let req = TestRequest::with_uri("/utf8.txt").to_request();
|
||||
let res = test::call_service(&srv, req).await;
|
||||
|
Reference in New Issue
Block a user