Empty pre-commit config (#33)

This commit is contained in:
Dustin J. Mitchell 2024-09-30 21:16:26 -04:00 committed by GitHub
parent a132238f68
commit a7b313c4b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 36 additions and 34 deletions

View file

@ -68,10 +68,10 @@ mod test {
async fn test_index_get() {
let server = Server::new(Default::default(), Box::new(InMemoryStorage::new()));
let app = App::new().configure(|sc| server.config(sc));
let mut app = test::init_service(app).await;
let app = test::init_service(app).await;
let req = test::TestRequest::get().uri("/").to_request();
let resp = test::call_service(&mut app, req).await;
let resp = test::call_service(&app, req).await;
assert!(resp.status().is_success());
}
}